mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 17:08:28 +00:00
Cypress: Change Cypress browser to Chrome (#5383)
This commit is contained in:
parent
ce8a317059
commit
84a28ea78f
@ -62,7 +62,7 @@ jobs:
|
|||||||
parallel: true
|
parallel: true
|
||||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||||
wait-on: 'http://localhost:8585'
|
wait-on: 'http://localhost:8585'
|
||||||
browser: firefox
|
browser: chrome
|
||||||
env:
|
env:
|
||||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||||
CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.CYPRESS_SNOWFLAKE_USERNAME }}
|
CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.CYPRESS_SNOWFLAKE_USERNAME }}
|
||||||
|
@ -163,6 +163,7 @@ export const goToAddNewServicePage = () => {
|
|||||||
|
|
||||||
// Services page
|
// Services page
|
||||||
cy.contains('Services').should('be.visible');
|
cy.contains('Services').should('be.visible');
|
||||||
|
cy.wait(500);
|
||||||
cy.get('.activeCategory > .tw-py-px').then(($databaseServiceCount) => {
|
cy.get('.activeCategory > .tw-py-px').then(($databaseServiceCount) => {
|
||||||
if ($databaseServiceCount.text() === '0') {
|
if ($databaseServiceCount.text() === '0') {
|
||||||
cy.get('[data-testid="add-service-button"]').should('be.visible').click();
|
cy.get('[data-testid="add-service-button"]').should('be.visible').click();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user