mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
Fixed offers archive test
refs. https://github.com/TryGhost/Team/issues/2371 - deleteAllMembers was an unnecessary step - since there's a generated code appended to the name of the archived offer, it had to be shorter to avoid potential naming conflicts
This commit is contained in:
parent
adae605555
commit
be84593684
@ -83,7 +83,6 @@ test.describe('Portal', () => {
|
||||
|
||||
test('Archiving an offer', async ({page}) => {
|
||||
page.goto('/ghost');
|
||||
await deleteAllMembers(page);
|
||||
|
||||
// Create a new tier to attach offer to
|
||||
const tierName = 'Portal Tier';
|
||||
@ -95,7 +94,7 @@ test.describe('Portal', () => {
|
||||
|
||||
// Create an offer. This will be archived
|
||||
const offerName = await createOffer(page, {
|
||||
name: 'Black Friday Special to be archived',
|
||||
name: 'To be archived',
|
||||
tierName: tierName,
|
||||
offerType: 'discount',
|
||||
amount: 10
|
||||
|
Loading…
Reference in New Issue
Block a user