Skip to content

Commit

Permalink
Merge branch 'next-24362/fix-e2e-text-for-number-range' into 'trunk'
Browse files Browse the repository at this point in the history
NEXT-24362 - Fix e2e text for number range - test ACL privileges

See merge request shopware/6/product/platform!9530
  • Loading branch information
sydinh committed Dec 6, 2022
2 parents 0caed07 + 9309611 commit 518f3b3
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ describe('Number Range: Test acl privileges', () => {
cy.contains(`${page.elements.dataGridRow}--0`, 'Name e2e').should('be.visible');
});

// TODO: Unskip with NEXT-15489
it('@settings: can edit number range with ACL', { tags: ['quarantined', 'pa-system-settings'] }, () => {
it('@settings: can edit number range with ACL', { tags: ['pa-system-settings'] }, () => {
cy.loginAsUserWithPermissions([
{
key: 'number_ranges',
Expand All @@ -137,7 +136,7 @@ describe('Number Range: Test acl privileges', () => {

// Request we want to wait for later
cy.intercept({
url: '/api/search/number-range/*',
url: '/api/number-range/*',
method: 'PATCH'
}).as('saveData');
cy.intercept({
Expand All @@ -163,8 +162,7 @@ describe('Number Range: Test acl privileges', () => {
cy.contains(`${page.elements.dataGridRow}--0`, 'Cancellations update').should('be.visible');
});

// TODO: Unskip with NEXT-15489
it('@settings: can delete number range with ACL', { tags: ['quarantined', 'pa-system-settings'] }, () => {
it('@settings: can delete number range with ACL', { tags: ['pa-system-settings'] }, () => {
cy.loginAsUserWithPermissions([
{
key: 'number_ranges',
Expand All @@ -182,7 +180,7 @@ describe('Number Range: Test acl privileges', () => {

// Request we want to wait for later
cy.intercept({
url: '/api/search/number-range/*',
url: '/api/number-range/*',
method: 'delete'
}).as('deleteData');

Expand Down

0 comments on commit 518f3b3

Please sign in to comment.