Skip to content

Commit

Permalink
ci(end to end): Fix missing layout [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
julienloizelet committed Sep 6, 2023
1 parent dcd7b79 commit ea9ba78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/end-to-end-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
cd my-own-modules/${{ env.EXTENSION_PATH }}
mkdir -p view/frontend/layout
cp Test/EndToEnd/layout-update-test-file/catalog_category_code_test_code_1.xml.dist view/frontend/layout/catalog_category_code_test_code_1.xml
cd ${{ github.workspace }}
# Override the Playwright test folder
echo -e "services:\n playwright:\n environment:\n - PLAYWRIGHT_TEST_DIR=my-own-modules/${{ env.EXTENSION_PATH }}/Test/EndToEnd" > .ddev/docker-compose.override.yaml
ddev restart
Expand Down
2 changes: 2 additions & 0 deletions Test/EndToEnd/__tests__/category.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ test.describe("Category page", () => {
adminOkaeliCategoryCodeCategoryOnePage,
adminCachePage,
}) => {
test.slow();
await adminOkaeliCategoryCodeConfigPage.setDefaultConfig();
await adminOkaeliCategoryCodeCategoryOnePage.setCategoryCode(
CATEGORY_CODE_1
Expand All @@ -37,6 +38,7 @@ test.describe("Category page", () => {
adminOkaeliCategoryCodeCategoryOnePage,
adminCachePage,
}) => {
test.slow();
await adminOkaeliCategoryCodeCategoryOnePage.setCategoryCode(
CATEGORY_CODE_ALT
);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="page.main.title" remove="true"/>
</body>
</page>

0 comments on commit ea9ba78

Please sign in to comment.