Skip to content

Conversation

tanyatrayanava
Copy link
Contributor

No description provided.

await t.click(this.textViewTypeOption);
}

//Select Tab;e view option in Workbench results

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Table

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 26 to 35
await userAgreementPage.acceptLicenseTerms();
await t.expect(addRedisDatabasePage.addDatabaseButton.exists).ok('The add redis database view', {timeout: 20000});
await addNewStandaloneDatabase(ossStandaloneConfig);
//Connect to DB
await myRedisDatabasePage.clickOnDBByName(ossStandaloneConfig.databaseName);
//Add index and data
await t.click(myRedisDatabasePage.workbenchButton);
for(let command of commandsForIndex) {
await workbenchPage.sendCommandInWorkbench(command);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If all of this, of part of it, exists on other tests, let's make one function in common actions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

await workbenchPage.sendCommandInWorkbench(command);
}
})
.afterEach(async t => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find t usage here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

await myRedisDatabasePage.deleteAllDatabases();
})
//skipped due the inaccessibility of the iframe
test.skip('Verify that user can switches between Table and Text for FT.INFO and see results corresponding to their views', async t => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could set 1 skip on the fixture, instead of on each test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

ofersteinberg
ofersteinberg previously approved these changes Dec 21, 2021
@tanyatrayanava tanyatrayanava merged commit 885d310 into main Dec 21, 2021
@tanyatrayanava tanyatrayanava deleted the feature/e2e branch December 21, 2021 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants