construct-hub-webapp 0.1.442 → 0.1.443

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes CHANGED
@@ -5,6 +5,7 @@
5
5
  /.github/pull_request_template.md linguist-generated
6
6
  /.github/workflows/auto-approve.yml linguist-generated
7
7
  /.github/workflows/build.yml linguist-generated
8
+ /.github/workflows/e2e-canary.yml linguist-generated
8
9
  /.github/workflows/pull-request-lint.yml linguist-generated
9
10
  /.github/workflows/release.yml linguist-generated
10
11
  /.github/workflows/stale.yml linguist-generated
@@ -110,7 +110,7 @@ describe("Home (Redesign / WIP)", () => {
110
110
 
111
111
  describe("Featured Section", () => {
112
112
  it("has a header and 4 cards", () => {
113
- cy.visit("/?ff-fullSite");
113
+ cy.visit("/");
114
114
  cy.getByDataTest(home.featuredContainer)
115
115
  .should("be.visible")
116
116
  .within(() => {
@@ -127,7 +127,7 @@ describe("Home (Redesign / WIP)", () => {
127
127
  });
128
128
 
129
129
  it("shows recently updated if no content is featured", () => {
130
- cy.visitWithConfig("/?ff-fullSite", {
130
+ cy.visitWithConfig("/", {
131
131
  featuredPackages: undefined,
132
132
  });
133
133
 
@@ -171,7 +171,7 @@ describe("Home (Redesign / WIP)", () => {
171
171
  ],
172
172
  };
173
173
 
174
- cy.visitWithConfig("/?ff-fullSite", {
174
+ cy.visitWithConfig("/", {
175
175
  featuredPackages,
176
176
  });
177
177
 
@@ -193,7 +193,7 @@ describe("Home (Redesign / WIP)", () => {
193
193
 
194
194
  describe("CDK Type Section", () => {
195
195
  it("has heading, description, 3 tabs, 4 cards, and a see all button", () => {
196
- cy.visit("/?ff-fullSite");
196
+ cy.visit("/");
197
197
 
198
198
  cy.getByDataTest(home.cdkTypeSection).within(() => {
199
199
  cy.getByDataTest(home.cdkTypeSectionHeading).should("be.visible");
@@ -215,7 +215,7 @@ describe("Home (Redesign / WIP)", () => {
215
215
  });
216
216
 
217
217
  it("reveals different cards for respective tabs", () => {
218
- cy.visit("/?ff-fullSite");
218
+ cy.visit("/");
219
219
 
220
220
  cy.getByDataTest(home.cdkTypeSection).within(() => {
221
221
  cy.getByDataTest(home.cdkTypeTab).each((tab, index) => {
@@ -236,7 +236,7 @@ describe("Home (Redesign / WIP)", () => {
236
236
  });
237
237
 
238
238
  it("has a see all button which opens the correct search url", () => {
239
- cy.visit("/?ff-fullSite");
239
+ cy.visit("/");
240
240
 
241
241
  const testSeeAll = (tagName: string, index: number) => {
242
242
  cy.getByDataTest(home.cdkTypeTab).eq(index).click();
@@ -21,7 +21,7 @@ const withWindowAlertCheck = (assertion: () => Promise<unknown>) => {
21
21
  };
22
22
 
23
23
  const checkURL = (params: Parameters<typeof getSearchPath>[0]) => {
24
- cy.url().should("eq", `http://localhost:3000${getSearchPath(params)}`);
24
+ cy.url().should("eq", `${Cypress.config().baseUrl}${getSearchPath(params)}`);
25
25
  };
26
26
 
27
27
  const testSearchURL = async (query: string) => {
package/package.json CHANGED
@@ -117,7 +117,7 @@
117
117
  "node": ">= 12.20.0"
118
118
  },
119
119
  "license": "Apache-2.0",
120
- "version": "0.1.442",
120
+ "version": "0.1.443",
121
121
  "eslintConfig": {
122
122
  "extends": [
123
123
  "react-app",