Eslint
This commit is contained in:
parent
f232e9466a
commit
2386256a5b
|
|
@ -28,7 +28,7 @@ const basicTestTree = {
|
||||||
`
|
`
|
||||||
};
|
};
|
||||||
|
|
||||||
['F5', 'Alt+r'].forEach((keyboardShortcut) => {
|
['F5', 'Alt+r'].forEach(keyboardShortcut => {
|
||||||
test(`should run tests with '${keyboardShortcut}'`, async ({
|
test(`should run tests with '${keyboardShortcut}'`, async ({
|
||||||
runUITest,
|
runUITest,
|
||||||
}) => {
|
}) => {
|
||||||
|
|
@ -56,7 +56,7 @@ const basicTestTree = {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
['Shift+F5', 'Alt+s'].forEach((keyboardShortcut) => {
|
['Shift+F5', 'Alt+s'].forEach(keyboardShortcut => {
|
||||||
test(`should stop tests with '${keyboardShortcut}'`, async ({
|
test(`should stop tests with '${keyboardShortcut}'`, async ({
|
||||||
runUITest,
|
runUITest,
|
||||||
}) => {
|
}) => {
|
||||||
|
|
@ -75,8 +75,8 @@ const basicTestTree = {
|
||||||
🕦 test 3
|
🕦 test 3
|
||||||
`);
|
`);
|
||||||
|
|
||||||
await expect(page.getByTitle("Run all")).toBeDisabled();
|
await expect(page.getByTitle('Run all')).toBeDisabled();
|
||||||
await expect(page.getByTitle("Stop")).toBeEnabled();
|
await expect(page.getByTitle('Stop')).toBeEnabled();
|
||||||
|
|
||||||
await page.keyboard.press(keyboardShortcut);
|
await page.keyboard.press(keyboardShortcut);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue