@vtex/faststore-plugin-buyer-portal 1.3.39 → 1.3.40

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.
@@ -0,0 +1 @@
1
+ /* @b2b-enabler-front
@@ -34,18 +34,23 @@ jobs:
34
34
  run: yarn link
35
35
  working-directory: ./plugin
36
36
 
37
+ - name: Install dependencies in b2bfaststoredev.store
38
+ run: yarn install
39
+ working-directory: ./b2bfaststoredev.store
40
+
37
41
  - name: Yarn link plugin in b2bfaststoredev.store
38
42
  run: yarn link "@vtex/faststore-plugin-buyer-portal"
39
- working-directory: ./b2bfaststoredev.store
43
+ working-directory: ./b2bfaststoredev.store/packages/discovery
40
44
 
41
45
  - name: Cypress run
42
46
  uses: cypress-io/github-action@v6
43
47
  with:
44
- working-directory: ./b2bfaststoredev.store
48
+ working-directory: ./b2bfaststoredev.store/packages/discovery/
45
49
  build: yarn build
46
50
  start: yarn start
47
- config-file: ../plugin/cypress.config.ts
51
+ config-file: node_modules/@vtex/faststore-plugin-buyer-portal/cypress.config.ts
48
52
  browser: chrome
53
+ install: false
49
54
  env: VTEX_AUTH_TOKEN=${{secrets.VTEX_AUTH_TOKEN}},VTEX_ACCOUNT_LOGIN=${{secrets.VTEX_ACCOUNT_LOGIN}},VTEX_ACCOUNT_PASSWORD=${{secrets.VTEX_ACCOUNT_PASSWORD}}
50
55
 
51
56
  - name: Upload Cypress artifacts
@@ -53,4 +58,4 @@ jobs:
53
58
  uses: actions/upload-artifact@v4
54
59
  with:
55
60
  name: cypress-artifacts
56
- path: b2bfaststoredev.store/cypress
61
+ path: b2bfaststoredev.store/packages/discovery/cypress
package/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.3.40] - 2025-12-09
11
+
12
+ - Fix e2e auth flow
13
+
10
14
  ## [1.3.39] - 2025-12-09
11
15
 
12
16
  ### Added
@@ -352,7 +356,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
352
356
  - Add CHANGELOG file
353
357
  - Add README file
354
358
 
355
- [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.39...HEAD
359
+ [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.40...HEAD
356
360
  [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.2.2...1.2.3
357
361
  [1.2.3]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.3
358
362
  [1.2.4]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.2.4
@@ -394,6 +398,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
394
398
  > > > > > > > main
395
399
  > > > > > > > [1.3.11]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.11
396
400
 
401
+ [1.3.40]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.39...v1.3.40
397
402
  [1.3.39]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.38...v1.3.39
398
403
  [1.3.38]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.37...v1.3.38
399
404
  [1.3.37]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.36...v1.3.37
@@ -19,7 +19,9 @@ Cypress.Commands.add("login", () => {
19
19
  return new Cypress.Promise((resolve, reject) => {
20
20
  cy.visit(auth.LOGIN_URL);
21
21
 
22
- cy.get('input[type="text"]').type(login);
22
+ cy.get('input[placeholder="Username"]').type(login);
23
+ cy.contains("Continue").click();
24
+ cy.wait(2000);
23
25
  cy.get('input[type="password"]').type(password);
24
26
  cy.get('button[type="submit"]').click();
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.3.39",
3
+ "version": "1.3.40",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,4 +13,4 @@ export const LOCAL_STORAGE_LOCATION_EDIT_KEY = "bp_hide_edit_location_confirm";
13
13
  export const LOCAL_STORAGE_RECIPIENT_EDIT_KEY =
14
14
  "bp_hide_edit_recipient_confirm";
15
15
 
16
- export const CURRENT_VERSION = "1.3.39";
16
+ export const CURRENT_VERSION = "1.3.40";