Skip to content

Commit

Permalink
fix(cypress): push again
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtabBukhari committed Aug 17, 2024
1 parent cd413d9 commit 4d0b702
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/addContent/addTweet.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('Add Tweet Content', () => {
url: 'http://localhost:8444/api/add_node*',
}).as('addTweet')

cy.get('#explore-graph', { timeout: 90000 }).should('be.visible').click()
cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('[data-testid="add-content-modal"]').click()

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/addContent/addWebpage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('Add Webpage Content', () => {
url: 'http://localhost:8444/api/add_node*',
}).as('addWebpage')

cy.get('#explore-graph', { timeout: 90000 }).should('be.visible').click()
cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('[data-testid="add-content-modal"]').click()
cy.get('#addContent').should('exist')
Expand Down
4 changes: 3 additions & 1 deletion cypress/e2e/addContent/addYoutube.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ describe('Add Youtube Content', () => {
method: 'POST',
url: 'http://localhost:8444/api/add_node*',
}).as('addYoutube')
cy.get('#explore-graph', { timeout: 90000 }).should('be.visible').click()

cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('[data-testid="add-content-modal"]').click()
cy.get('#addContent').should('exist')
cy.get('[id="cy-youtube-channel-id"]').type('https://www.youtube.com/watch?v=dPLPSaFqJmY')
Expand Down
4 changes: 3 additions & 1 deletion cypress/e2e/addNode/addNodeType.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ describe('Add Node Type Via BluePrint', () => {
cy.initialSetup('alice', 300)

const nodeType = 'Player'
cy.get('#explore-graph').should('be.visible').click()

cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('[data-testid="add-blueprint-modal"]').click()
cy.wait(1000)

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/admin/signin.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Admin Login', () => {
const title = `Testing NavFiber`
const description = 'Testing Graph Description'

cy.get('#explore-graph', { timeout: 30000 }).should('be.visible').click()
cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()
// Open settings modal
cy.get('div[data-testid="settings-modal"]').should('be.visible').click()

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/curationTable/curation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Test Curation Table', () => {

cy.initialSetup('alice', 300)

cy.get('#explore-graph').should('be.visible').click()
cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('#cy-open-soure-table').click()

Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/sourcesTable/sourcesTable.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Sources Table / Home interactions', () => {

cy.wait(3000)

cy.get('#explore-graph').should('be.visible').click()
cy.get('#explore-graph', { timeout: 60000 }).should('be.visible').click()

cy.get('#cy-open-soure-table').click()

Expand Down

0 comments on commit 4d0b702

Please sign in to comment.