This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. in the mini app run the command `bun run prepare-mobile-test` | |
| bun dev -p 300X (change X with the standardized number for the specific mini app, for example 3001 in the case of UPI) | |
| 1. get your local network copy the domain of the url with your local network and change localhost env var likes with that value (copy just the domain which is something like 192.168.XX.XX) also change NEXT_MINI_APP_COOKIES_DOMAIN set to local network for example NEXT_MINI_APP_COOKIES_DOMAIN = '192.168.10.21' | |
| 3. change the env vars in your beacon app project that are pointing to the staging urls of the miniapps to point to your local network version of the mini app which is something like http://192.168.1.7:3001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. upgreade beacon-ui version | |
| 2. Use that version on the project that will be deployed | |
| 3. create a tag with the new beacon-ui version and push the tag git push --tag | |
| 4. Merge change to main in beacon-ui project using squash | |
| 5. then crea tag with version name and do a push origin of the tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yarn link on beacon-ui project | |
| yarn link "@mybeaconlabs/beacon-ui" on IBP project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ayuda: git config pull.rebase false # fusionar | |
| ayuda: git config pull.rebase true # rebasar | |
| ayuda: git config pull.ff only # solo avance rápido | |
| when that appears I allways select the first one: fusionar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // test.describe.configure({ mode: 'serial' }); | |
| // https://playwright.dev/docs/test-parallel#serial-mode | |
| import { test, type Page } from '@playwright/test'; | |
| // Annotate entire file as serial. | |
| test.describe.configure({ mode: 'serial' }); | |
| let page: Page; | |
| test.beforeAll(async ({ browser }) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # You can now run tests that have a particular tag with --grep command line option. | |
| npx playwright test --grep @fast | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| npx test filename.spec.ts --grep groupName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://playwright.dev/docs/test-retries#retries | |
| npx playwright test --retries=3 |
NewerOlder