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";
|
import path from "path";
|
||||||
|
|
||||||
test(
|
test(
|
||||||
"should delete a component",
|
"should delete a component (requires store API key)",
|
||||||
{ tag: ["@release", "@api"] },
|
{ tag: ["@release", "@api"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
test.skip(
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
test(
|
test(
|
||||||
"should delete a flow",
|
"should delete a flow (requires store API key)",
|
||||||
{ tag: ["@release", "@api"] },
|
{ tag: ["@release", "@api"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
test.skip(
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import path from "path";
|
||||||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||||
|
|
||||||
test.skip(
|
test.skip(
|
||||||
"should like and add components and flows",
|
"should like and add components and flows (requires store API key)",
|
||||||
{ tag: ["@release"] },
|
{ tag: ["@release"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
test.skip(
|
||||||
|
|
@ -84,7 +84,7 @@ test.skip(
|
||||||
);
|
);
|
||||||
|
|
||||||
test.skip(
|
test.skip(
|
||||||
"should find a searched Component on Store",
|
"should find a searched Component on Store (requires store API key)",
|
||||||
{ tag: ["@release"] },
|
{ tag: ["@release"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
test.skip(
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import * as dotenv from "dotenv";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
test(
|
test(
|
||||||
"should order the visualization",
|
"should order the visualization (requires store API key)",
|
||||||
{ tag: ["@release"] },
|
{ tag: ["@release"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
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(
|
test.skip(
|
||||||
!process?.env?.STORE_API_KEY,
|
!process?.env?.STORE_API_KEY,
|
||||||
"STORE_API_KEY required to run this test",
|
"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) {
|
if (iconGroupAllCount === 0 || toyBrickAllCount === 0) {
|
||||||
expect(false).toBe(true);
|
expect(false).toBe(true);
|
||||||
}
|
}
|
||||||
});
|
},
|
||||||
|
);
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import path from "path";
|
||||||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||||
|
|
||||||
test(
|
test(
|
||||||
"should be able to share a component on the store by clicking on the share button on the canvas",
|
"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"] },
|
{ tag: ["@release", "@api"] },
|
||||||
async ({ page }) => {
|
async ({ page }) => {
|
||||||
test.skip(
|
test.skip(
|
||||||
!process?.env?.STORE_API_KEY,
|
!process?.env?.STORE_API_KEY,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue