@times-components/ssr 2.58.19-alpha.8 → 2.59.0
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/CHANGELOG.md +12 -0
- package/__tests__/{integration/article-indepth.js → cypress/e2e/article-indepth.cy.js} +1 -1
- package/__tests__/{integration/article-magazinecomment.js → cypress/e2e/article-magazinecomment.cy.js} +1 -1
- package/__tests__/{integration/article-magazinestandard.js → cypress/e2e/article-magazinestandard.cy.js} +1 -1
- package/__tests__/{integration/article-maincomment.js → cypress/e2e/article-maincomment.cy.js} +1 -1
- package/__tests__/{integration/article-mainstandard-default.js → cypress/e2e/article-mainstandard-default.cy.js} +1 -1
- package/__tests__/{integration/article-mainstandard-persisted-query.js → cypress/e2e/article-mainstandard-persisted-query.cy.js} +1 -1
- package/__tests__/{integration/author-profile-default.js → cypress/e2e/author-profile-default.cy.js} +1 -2
- package/__tests__/{integration/author-profile-persisted-query.js → cypress/e2e/author-profile-persisted-query.cy.js} +1 -1
- package/__tests__/cypress/support/commands.js +3 -1
- package/__tests__/helpers/article-helper.js +1 -1
- package/__tests__/helpers/author-profile-helper.js +1 -1
- package/cypress.config.js +19 -0
- package/dist/article.react.bundle.js +1 -1
- package/dist/article.react.bundle.js.map +1 -1
- package/package.json +15 -14
- package/cypress.json +0 -10
- /package/__tests__/cypress/support/{index.js → e2e.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.59.0](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.18...@times-components/ssr@2.59.0) (2024-10-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **TDP-4797:** Implement rerun failed Test on Times Component ([#3932](https://github.com/newsuk/times-components/issues/3932)) ([c668b41](https://github.com/newsuk/times-components/commit/c668b415f28468368e83828e05c70d5dae7b79bd))
|
|
12
|
+
* **TDP-4831:** Upgrade Cypress to latest version in times-component repo ([#3954](https://github.com/newsuk/times-components/issues/3954)) ([44b4ef2](https://github.com/newsuk/times-components/commit/44b4ef2c95530eca2cfa1cdd3d4a11d7767f17dd))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.58.18](https://github.com/newsuk/times-components/compare/@times-components/ssr@2.58.17...@times-components/ssr@2.58.18) (2024-10-01)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @times-components/ssr
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable no-unused-expressions */
|
|
2
2
|
import { MockAuthor, MockArticle } from "@times-components/fixture-generator";
|
|
3
|
-
import { terminalLog } from "../cypress/support";
|
|
3
|
+
import { terminalLog } from "../cypress/support/e2e.js";
|
|
4
4
|
|
|
5
5
|
export default (options = {}) => {
|
|
6
6
|
const qs = options.qs || "";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const { defineConfig } = require("cypress");
|
|
2
|
+
|
|
3
|
+
module.exports = defineConfig({
|
|
4
|
+
fixturesFolder: false,
|
|
5
|
+
screenshotsFolder: "__tests__/screenshots",
|
|
6
|
+
video: false,
|
|
7
|
+
blockHosts: ["*spot.im"],
|
|
8
|
+
e2e: {
|
|
9
|
+
// We've imported your old cypress plugins here.
|
|
10
|
+
// You may want to clean this up later by importing these.
|
|
11
|
+
setupNodeEvents(on, config) {
|
|
12
|
+
// eslint-disable-next-line
|
|
13
|
+
return require("./__tests__/cypress/plugins")(on, config);
|
|
14
|
+
},
|
|
15
|
+
baseUrl: "http://localhost:3000",
|
|
16
|
+
specPattern: "__tests__/cypress/e2e/**.cy.js",
|
|
17
|
+
supportFile: "__tests__/cypress/support/e2e.js"
|
|
18
|
+
}
|
|
19
|
+
});
|