-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from lilt/3.x-development
3.x development
- Loading branch information
Showing
16 changed files
with
680 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
e2e/cypress/e2e/jobs/verified/success-path-multiple-bulk-publishing.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
const {generateJobData} = require('../../../support/job/generator.js'); | ||
|
||
describe( | ||
'[Verified] Success path for job with multiple target languages with bulk publishing', | ||
() => { | ||
const entryLabel = 'The Future of Augmented Reality'; | ||
const entryId = 24; | ||
|
||
it('with copy slug disabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: false, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: true, | ||
}); | ||
}); | ||
|
||
it('with copy slug disabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: true, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: true, | ||
}); | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: false, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: true, | ||
}); | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.log(`Job title: ${jobTitle}`); | ||
cy.log(`Slug: ${slug}`); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: true, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: true, | ||
}); | ||
}); | ||
}); |
71 changes: 71 additions & 0 deletions
71
e2e/cypress/e2e/jobs/verified/success-path-multiple-single-publishing.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
const {generateJobData} = require('../../../support/job/generator.js'); | ||
|
||
describe( | ||
'[Verified] Success path for job with multiple target languages with single publishing', | ||
() => { | ||
const entryLabel = 'The Future of Augmented Reality'; | ||
const entryId = 24; | ||
|
||
it('with copy slug disabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: false, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: false, | ||
}); | ||
}); | ||
|
||
it('with copy slug disabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: true, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: false, | ||
}); | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: false, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: false, | ||
}); | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.log(`Job title: ${jobTitle}`); | ||
cy.log(`Slug: ${slug}`); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: true, | ||
languages: ['de', 'es', 'uk'], | ||
batchPublishing: false, | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
const {generateJobData} = require('../../../support/job/generator.js'); | ||
|
||
describe( | ||
'[Verified] Success path for job with single target language', | ||
() => { | ||
const entryLabel = 'The Future of Augmented Reality'; | ||
const entryId = 24; | ||
|
||
it('with copy slug disabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: false, | ||
languages: ["de"], | ||
}) | ||
}); | ||
|
||
it('with copy slug disabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: false, | ||
enableAfterPublish: true, | ||
languages: ["de"] | ||
}) | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish disabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: false, | ||
languages: ["de"] | ||
}) | ||
}); | ||
|
||
it('with copy slug enabled & enable after publish enabled', () => { | ||
const {jobTitle, slug} = generateJobData(); | ||
|
||
cy.log(`Job title: ${jobTitle}`) | ||
cy.log(`Slug: ${slug}`) | ||
|
||
cy.verifiedFlow({ | ||
slug, | ||
entryLabel, | ||
jobTitle, | ||
entryId, | ||
copySlug: true, | ||
enableAfterPublish: true, | ||
languages: ["de"] | ||
}) | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.