Skip to content

Commit

Permalink
disable reviews e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
mshick committed Mar 19, 2024
1 parent 40c367f commit 4fe725c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions e2e/tests/product-page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,20 @@ test.describe('Write a product review', () => {
await collectionsPage.selectProduct(PRODUCT_NAME_INSTOCK);
});

test('Verify user cannot submit an empty review form', async ({ productPage, page }) => {
// TODO Reviews.io acct is currently inactive
test.fixme('Verify user cannot submit an empty review form', async ({ productPage, page }) => {
await productPage.clickOnWriteAReviewBtn();
await productPage.submitAReviewBtn().click();
await expect(page.getByText('This field is required')).toHaveCount(2);
});

// BUG: https://app.shortcut.com/takeshape/story/12703/product-review-doesn-t-appear-after-submitting-a-review-form
// TODO Reviews.io acct is currently inactive
// BUG https://app.shortcut.com/takeshape/story/12703/product-review-doesn-t-appear-after-submitting-a-review-form
test.fixme('Submit a review form', async ({ productPage }) => {
const message = getTextMessage();

await productPage.clickOnWriteAReviewBtn();
await productPage.setStarRating(3);
await productPage.reviewTextarea().fill(message);
await productPage.submitAReview();
await productPage.verifyLastProductReview({ message, stars: 3 });
});
});

0 comments on commit 4fe725c

Please sign in to comment.