-
Notifications
You must be signed in to change notification settings - Fork 404
e2e - Command results at Workbench #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
await t.click(this.textViewTypeOption); | ||
} | ||
|
||
//Select Tab;e view option in Workbench results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
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); | ||
} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 => { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 => { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.