udpated tests (#3617)

Co-authored-by: nandan.anantharamu <nandan.anantharamu@thoughtspot.com>
This commit is contained in:
NandanAnantharamu 2021-03-19 11:19:54 +05:30 committed by GitHub
parent 6b7fcc4c5d
commit a82c789c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ describe("Onboarding", function() {
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000);
cy.get(".bp3-spinner-head").should("not.exist");
cy.get(".t--start-building")
.should("be.visible")
.click({ force: true });

View File

@ -1291,6 +1291,7 @@ Cypress.Commands.add("tableDataVisiblity", (endp, value) => {
Cypress.Commands.add("tableColumnDataValidation", (columnName) => {
cy.get("[data-rbd-draggable-id='" + columnName + "']")
.scrollIntoView()
.first()
.focus({ force: true })
.should("be.visible");
@ -1298,6 +1299,7 @@ Cypress.Commands.add("tableColumnDataValidation", (columnName) => {
Cypress.Commands.add("tableColumnPopertyUpdate", (colId, newColName) => {
cy.get("[data-rbd-draggable-id='" + colId + "'] input")
.scrollIntoView()
.should("be.visible")
.click({
force: true,