Skip to content

Commit 3079921

Browse files
committed
chore: sort imports
1 parent ed31688 commit 3079921

60 files changed

Lines changed: 76 additions & 73 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

playwright/e2e/example01.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 01 - Basic Select', () => {
44
test('basic select should have dropdown with certain list items', async ({ page }) => {

playwright/e2e/example02.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 02 - Multiple Select', () => {
44
test('first select with multiple selection', async ({ page }) => {

playwright/e2e/example05.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 05 - disabled select', () => {
44
test('should expect a disabled select element', async ({ page }) => {

playwright/e2e/example07.spec.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 07 - Submit Data', () => {
44
test('submit form and display alert with serialized form data in an alert', async ({ page }) => {
55
let dialogText = '';
6-
page.on('dialog', async (alert) => {
6+
page.on('dialog', async alert => {
77
dialogText = alert.message();
88
await alert.dismiss();
99
});
@@ -15,11 +15,9 @@ test.describe('Example 07 - Submit Data', () => {
1515
await expect(dialogText).toBe('select1=2');
1616
});
1717

18-
test('submit form with multiple data in second select and display alert with serialized form data in an alert', async ({
19-
page,
20-
}) => {
18+
test('submit form with multiple data in second select and display alert with serialized form data in an alert', async ({ page }) => {
2119
let dialogText = '';
22-
page.on('dialog', async (alert) => {
20+
page.on('dialog', async alert => {
2321
dialogText = alert.message();
2422
await alert.dismiss();
2523
});

playwright/e2e/example08.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 08 - Data Property', () => {
44
test('all select dropdown should have data', async ({ page }) => {

playwright/e2e/example10.spec.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 10 - Large Select Dataset with Virtual Scroll', () => {
44
test('select should use virtual scroll', async ({ page }) => {
@@ -104,7 +104,10 @@ test.describe('Example 10 - Large Select Dataset with Virtual Scroll', () => {
104104
expect(await page.locator('[data-test="select10-2"] .ms-drop label').filter({ hasText: '5003' })).toBeVisible();
105105
expect(await page.getByRole('option', { name: ' Task 5003', exact: true }).filter({ hasText: '5003' })).toBeVisible();
106106
expect(
107-
await page.getByRole('option', { name: ' Task 5003', exact: true }).locator('input[type=checkbox][data-key=option_5003]').isChecked(),
107+
await page
108+
.getByRole('option', { name: ' Task 5003', exact: true })
109+
.locator('input[type=checkbox][data-key=option_5003]')
110+
.isChecked(),
108111
).toBeTruthy();
109112
await page.locator('[data-test=select10-2].ms-parent').click(); // close drop
110113
});

playwright/e2e/example12.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 12 - Checkbox/Radio icons', () => {
44
test('1st select show radio icons & 2nd select shows checkbox icons', async ({ page }) => {

playwright/e2e/example13.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 13 - Destroy Select', () => {
44
test('creating & destroying select multiple times', async ({ page }) => {

playwright/e2e/example14.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 14 - The Divider', () => {
44
test('multiple select with divider list items', async ({ page }) => {

playwright/e2e/example15.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { test, expect } from '@playwright/test';
1+
import { expect, test } from '@playwright/test';
22

33
test.describe('Example 15 - Dark Mode', () => {
44
test('multiple select with dark mode', async ({ page }) => {

0 commit comments

Comments
 (0)