Skip to content

Commit

Permalink
Update cypress timezone environment (#270)
Browse files Browse the repository at this point in the history
* Update cypress timezon environment

Signed-off-by: Joshua Li <joshuali925@gmail.com>

* Update notebooks cypress

Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Nov 22, 2021
1 parent 945240b commit e9adac2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ describe('Testing paragraphs', () => {
cy.get('.euiButton__text').contains('Run').click();
cy.wait(delay * 5);

cy.get('.sc-Axmtr > div:nth-child(1) > div:nth-child(1)').contains('select * from opensearch_dashboards_sample_data_flights limit 20');
cy.get('b').contains('select * from opensearch_dashboards_sample_data_flights limit 20');

cy.get('.euiDataGrid__overflow').should('exist');
});
Expand All @@ -287,7 +287,7 @@ describe('Testing paragraphs', () => {
cy.get('.euiButton__text').contains('Run').click();
cy.wait(delay * 5);

cy.get('.sc-Axmtr > div:nth-child(1) > div:nth-child(1)').contains('source=opensearch_dashboards_sample_data_flights');
cy.get('b').contains('source=opensearch_dashboards_sample_data_flights');

cy.get('.euiDataGrid__overflow').should('exist');
});
Expand Down
4 changes: 2 additions & 2 deletions dashboards-observability/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"osd": "node ../../scripts/osd",
"build": "yarn plugin_helpers build",
"test": "../../node_modules/.bin/jest --config ./test/jest.config.js",
"cypress:run": "cypress run",
"cypress:open": "cypress open",
"cypress:run": "TZ=America/Los_Angeles cypress run",
"cypress:open": "TZ=America/Los_Angeles cypress open",
"plugin_helpers": "node ../../scripts/plugin_helpers"
},
"dependencies": {
Expand Down

0 comments on commit e9adac2

Please sign in to comment.