Skip to content

Commit

Permalink
#2490: updated snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-may committed May 14, 2024
1 parent d587481 commit dd774d6
Show file tree
Hide file tree
Showing 32 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ describe('Client Display Features Tests', () => {
});

it('do not display new version banner if lib version in headers is older than lib version in local storage', () => {
const mockedLibVersion = dateFormatter(new Date() - 1000 * 60 * 60 * 24 * 5);
const mockedLibVersion = dateFormatter(new Date() - 1000 * 60 * 60 * 24 * 180);
cy.intercept('/api/projects/proj1/subjects/subj1/summary*', (req) => {
req.reply((res) => {
res.send(200, {
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"cy:run:dev:updateSnapshots": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env type=base --spec \"cypress/e2e/skills_group_spec.js,cypress/e2e/markdown_spec.js\"",
"cy:run:dev:updateClientDisplaySnapshots": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env type=base --spec \"cypress/e2e/client-display/client-display-theme_spec.js,cypress/e2e/client-display/client-display_spec.js,cypress/e2e/client-display/client-display-search-skills_spec.js,cypress/e2e/client-display/client-display-theme-components_spec.js,cypress/e2e/client-display/client-display_point_history_chart_spec.js,cypress/e2e/client-display/client-display-self_report_skills_spec.js,cypress/e2e/client-display/client-display-markdown_spec.js,cypress/e2e/client-display/client-display_point_history_chart_spec.js,cypress/e2e/client-display/client-display_leaderboard_spec.js,cypress/e2e/client-display/client-display_leaderboard_sharedData_spec.js\"",
"cy:run:dev:updateLearningPathSnapshots": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env type=base --spec \"cypress/e2e/learning-path/client-display-learning-path-graph-snapshots_spec.js,cypress/e2e/learning-path/client-display-learning-path-graph-theme-snapshots_spec.js\"",
"cy:run:dev:clientDisplay": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env customSnapshotsDir=./cypress/snapshots/client-display --spec \"cypress/e2e/client-display/client-display_point_history_chart_spec.js\"",
"cy:run:dev:clientDisplay": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env type=base --spec \"cypress/e2e/client-display/*.js\"",
"cy:run:dev:quiz": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env customSnapshotsDir=./cypress/snapshots/quiz --spec \"cypress/e2e/quiz/client-display_quiz_visual_spec.js\"",
"cy:run:dev:updateQuizSnapshots": "TZ=UTC cypress run --browser chrome --config baseUrl=http://localhost:5173 --env type=base --spec \"cypress/e2e/quiz/client-display_quiz_visual_spec.js,cypress/e2e/quiz/client-display_quiz_theme_spec.js\"",
"cy:run:dev:accessibility": "TZ=UTC cypress run --browser chrome --env enableLighthouse=true --headless --config baseUrl=http://localhost:5173 --spec cypress/e2e/accessibility/accessibility_quiz_specs.js",
Expand Down

0 comments on commit dd774d6

Please sign in to comment.