mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
test(playwright): update to playwright 1.23 (#25645)
This commit is contained in:
@ -33,8 +33,8 @@ test.describe('datetime: minmax', () => {
|
||||
const prevButton = page.locator('ion-datetime .calendar-next-prev ion-button:nth-child(1)');
|
||||
const nextButton = page.locator('ion-datetime .calendar-next-prev ion-button:nth-child(2)');
|
||||
|
||||
await expect(nextButton).toBeEnabled();
|
||||
await expect(prevButton).toBeDisabled();
|
||||
await expect(nextButton).toHaveJSProperty('disabled', false);
|
||||
await expect(prevButton).toHaveJSProperty('disabled', true);
|
||||
|
||||
await page.evaluate('initDatetimeChangeEvent()');
|
||||
|
||||
@ -45,8 +45,8 @@ test.describe('datetime: minmax', () => {
|
||||
|
||||
await monthDidChangeSpy.next();
|
||||
|
||||
await expect(nextButton).toBeDisabled();
|
||||
await expect(prevButton).toBeEnabled();
|
||||
await expect(nextButton).toHaveJSProperty('disabled', true);
|
||||
await expect(prevButton).toHaveJSProperty('disabled', false);
|
||||
});
|
||||
|
||||
test('datetime: minmax months disabled', async ({ page }) => {
|
||||
|
Reference in New Issue
Block a user