fix: flaky create_project multiple url test (#3767)
Signed-off-by: kushthedude <kushthedude@gmail.com> Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
This commit is contained in:
parent
68b148d775
commit
1f9d1252a5
@ -73,7 +73,7 @@ Cypress.Commands.add('doCreateProjectThroughUserInterface', () => {
|
|||||||
|
|
||||||
// workaround to ensure project is loaded
|
// workaround to ensure project is loaded
|
||||||
// cypress does not support window.location = ...
|
// cypress does not support window.location = ...
|
||||||
cy.get('h2', { timeout: 6000 }).contains('HTTP ERROR 404');
|
cy.get('h2').should('to.contain', 'HTTP ERROR 404');
|
||||||
cy.location().should((location) => {
|
cy.location().should((location) => {
|
||||||
expect(location.href).contains(
|
expect(location.href).contains(
|
||||||
Cypress.env('OPENREFINE_URL') + '/__/project?'
|
Cypress.env('OPENREFINE_URL') + '/__/project?'
|
||||||
|
Loading…
Reference in New Issue
Block a user