Skip to content

Commit 208fb80

Browse files
committed
[E2E] Fix ESLint issue with const/let parameter, remove .only for test
1 parent d4d30a8 commit 208fb80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/e2e/tests/regression/first-start-form/user-agreements-form.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fixture `Agreements Verification`
1212
.beforeEach(async t => {
1313
await t.maximizeWindow();
1414
});
15-
test.only('Verify that user can see message "While adding new visualization plugins, use files only from trusted authors to avoid automatic execution of malicious code." on EULA and Privacy Settings window when he opens the application for the very first time', async t => {
15+
test('Verify that user can see message "While adding new visualization plugins, use files only from trusted authors to avoid automatic execution of malicious code." on EULA and Privacy Settings window when he opens the application for the very first time', async t => {
1616
//Verify that User Agreements modal form is displayed
1717
await t.expect(userAgreementPage.userAgreementsPopup.exists).ok('User Agreements Popup is shown');
1818
//Verify that section with plugin warning is displayed

tests/e2e/tests/regression/workbench/scripting-area.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test('Verify that user can run multiple commands written in multiple lines in Wo
5050
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'), 0.5);
5151
//Check the result
5252
for(let i = 1; i < commandsForSend.length + 1; i++) {
53-
let resultCommand = await workbenchPage.queryCardCommand.nth(i - 1).textContent;
53+
const resultCommand = await workbenchPage.queryCardCommand.nth(i - 1).textContent;
5454
await t.expect(resultCommand).eql(commandsForSend[commandsForSend.length - i], `The command ${commandsForSend[commandsForSend.length - i]} is in the result`);
5555
}
5656
});
@@ -63,7 +63,7 @@ test('Verify that user can use double slashes (//) wrapped in double quotes and
6363
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n"//"'), 0.5);
6464
//Check that all commands are executed
6565
for(let i = 1; i < commandsForSend.length + 1; i++) {
66-
let resultCommand = await workbenchPage.queryCardCommand.nth(i - 1).textContent;
66+
const resultCommand = await workbenchPage.queryCardCommand.nth(i - 1).textContent;
6767
await t.expect(resultCommand).contains(commandsForSend[commandsForSend.length - i], `The command ${commandsForSend[commandsForSend.length - i]} is in the result`);
6868
}
6969
});

0 commit comments

Comments
 (0)