Skip to content

Commit

Permalink
feat: SKFP-1418 Setup Ferlease Cypress execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Karine St-Onge authored and kstonge committed Jan 10, 2025
1 parent a80b2a1 commit f3b9b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { getDateTime } from './cypress/support/utils';
const { strDate, strTime } = getDateTime();

const getName = (url = '', parallel = '') => {
if (url.includes('skfp-')) {
return url.replace('https://', '').split('.')[0].split('-').splice(2, 4).join('-')+'/'+parallel;
if (url.includes('netlify')) {
return url.replace('https://', '').split('.')[0].split('-')[2]+'/'+parallel;
} else {
return 'QA/'+parallel;
}
Expand Down

0 comments on commit f3b9b69

Please sign in to comment.