Skip to content

Commit

Permalink
Decrease e2e page load timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed Mar 26, 2024
1 parent 341b168 commit 07d31fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import {defineConfig} from 'cypress';
export default defineConfig({
e2e: {
specPattern: 'cypress/e2e/**/*.cy.ts',
baseUrl: 'http://localhost:5173/getfit/',
baseUrl: 'http://localhost:5173/getfit',
video: false,
trashAssetsBeforeRuns: true,
pageLoadTimeout: 5000,
},
});
2 changes: 1 addition & 1 deletion src/views/ExportView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const downloadICS = async () => {
} else if (value) {
const file = new File([value], t('export.filename'), {type: 'text/calendar'});
const url = URL.createObjectURL(file);
console.log(url);
const anchor = document.createElement('a');
anchor.href = url;
anchor.download = t('export.filename');
Expand Down

0 comments on commit 07d31fd

Please sign in to comment.