test: Update test descriptions to indicate requirement for store API key (#5359)
* test: update test descriptions to indicate requirement for store API key * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a30ccc4302
commit
be612eb6d3
5 changed files with 76 additions and 72 deletions
|
|
@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
|
|||
import path from "path";
|
||||
|
||||
test(
|
||||
"should delete a component",
|
||||
"should delete a component (requires store API key)",
|
||||
{ tag: ["@release", "@api"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
|
|||
import path from "path";
|
||||
|
||||
test(
|
||||
"should delete a flow",
|
||||
"should delete a flow (requires store API key)",
|
||||
{ tag: ["@release", "@api"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import path from "path";
|
|||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||
|
||||
test.skip(
|
||||
"should like and add components and flows",
|
||||
"should like and add components and flows (requires store API key)",
|
||||
{ tag: ["@release"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
|
|
@ -84,7 +84,7 @@ test.skip(
|
|||
);
|
||||
|
||||
test.skip(
|
||||
"should find a searched Component on Store",
|
||||
"should find a searched Component on Store (requires store API key)",
|
||||
{ tag: ["@release"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
|
|||
import path from "path";
|
||||
|
||||
test(
|
||||
"should order the visualization",
|
||||
"should order the visualization (requires store API key)",
|
||||
{ tag: ["@release"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
|
|
@ -50,7 +50,10 @@ test(
|
|||
},
|
||||
);
|
||||
|
||||
test("should filter by type", { tag: ["@release"] }, async ({ page }) => {
|
||||
test(
|
||||
"should filter by type (requires store API key)",
|
||||
{ tag: ["@release"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
!process?.env?.STORE_API_KEY,
|
||||
"STORE_API_KEY required to run this test",
|
||||
|
|
@ -115,4 +118,5 @@ test("should filter by type", { tag: ["@release"] }, async ({ page }) => {
|
|||
if (iconGroupAllCount === 0 || toyBrickAllCount === 0) {
|
||||
expect(false).toBe(true);
|
||||
}
|
||||
});
|
||||
},
|
||||
);
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import path from "path";
|
|||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||
|
||||
test(
|
||||
"should be able to share a component on the store by clicking on the share button on the canvas",
|
||||
{ tag: ["@release"] },
|
||||
"should be able to share a component on the store by clicking on the share button on the canvas (requires store API key)",
|
||||
{ tag: ["@release", "@api"] },
|
||||
async ({ page }) => {
|
||||
test.skip(
|
||||
!process?.env?.STORE_API_KEY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue