Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wojteknowacki committed Aug 22, 2023
1 parent 39360c0 commit c6b3a76
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ jobs:
run: NODE_OPTIONS=--max_old_space_size=4096 npm install

- name: Cypress run critical
uses: cypress-io/github-action@v5
uses: bahmutov/cypress-workflows/.github/workflows/split.yml@v1
env:
API_URI: ${{ steps.api_uri.outputs.custom_api_uri }}
APP_MOUNT_URI: ${{ secrets.APP_MOUNT_URI }}
Expand All @@ -256,7 +256,9 @@ jobs:
CYPRESS_grepTags: ${{ needs.prepare-tests.outputs.tags }}
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}

with:
start: npm start
marge: true
- name: Install dependencies
working-directory: .github/workflows
run: npm ci
Expand Down
6 changes: 2 additions & 4 deletions cypress/e2e/checkout/purchaseWithProductTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ import {
getShippingMethodIdFromCheckout,
updateShippingInCheckout,
} from "../../support/api/utils/ordersUtils";
import {
createDigitalAndPhysicalProductWithNewDataAndDefaultChannel,
} from "../../support/api/utils/products/productsUtils";
import { createDigitalAndPhysicalProductWithNewDataAndDefaultChannel } from "../../support/api/utils/products/productsUtils";

describe("As an unlogged customer I want to order physical and digital products", () => {
describe.skip("As an unlogged customer I want to order physical and digital products", () => {
const startsWith = `CyPurchaseByType`;
const email = `${startsWith}@example.com`;
const testsMessage = "Check order status";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { urlList } from "../../../fixtures/urlList";
import { getProductType } from "../../../support/api/requests/ProductType";
import { createProductType } from "../../../support/pages/productTypePage";

describe("As an admin I want to create product types", () => {
describe.skip("As an admin I want to create product types", () => {
const startsWith = "productType";

beforeEach(() => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
expectMainMenuSectionsToBeVisible,
} from "../support/pages/mainMenuPage";

describe("As a staff user I want to navigate through shop using different permissions", () => {
describe.skip("As a staff user I want to navigate through shop using different permissions", () => {
it(
`should be able to navigate through shop as a staff member using DISCOUNTS permission. TC: SALEOR_3405a - sales list`,
{ tags: ["@allEnv", "@navigation", "@stable", "@oldRelease", "@critical"] },
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/staffMembers.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {
updateUserActiveFlag,
} from "../support/pages/";

describe("Staff members", () => {
describe.skip("Staff members", () => {
const startsWith = "StaffMembers" + Date.now();
const password = Cypress.env("USER_PASSWORD");
const lastName = faker.name.lastName();
Expand Down
7 changes: 4 additions & 3 deletions reporter-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
},
"reporterOptions": {
"reportDir": "cypress/results/mochawesome",
"overwrite": false,
"html": false,
"json": true
"charts": true,
"embeddedScreenshots": true,
"inlineAssets": false,
"saveAllAttempts": true
}
}

0 comments on commit c6b3a76

Please sign in to comment.