Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/e2e/tests/versions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ test('Create Version and Restore from it', async ({ page }, workerInfo) => {

// Check that there is an audit entry for the last edit (which we didn't)
// expliticly create a version for.
const audit = await page.locator('.da-version-entry.is-audit');
// Use .first() because PR #931 keeps audit groups separate across version boundaries,
// so there may be multiple is-audit entries (one before and one after 'ver 1').
const audit = await page.locator('.da-version-entry.is-audit').first();
await audit.click();

const expectedUser = process.env.SKIP_AUTH ? 'anonymous' : 'da-test@adobetest.com';
Expand Down
Loading