diff --git a/README.md b/README.md index f56af19..8080faf 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,24 @@ This will add types for `cy.api()` command, it’s returned values as well as `e ### Issues All the issues can be found on [issues page](https://github.com/filiphric/cypress-plugin-api/issues), feel free to open any new ones or contribute with your own code. +### Testing Local Changes in Another Repository +You can use [yalc](https://github.com/wclr/yalc) to use your local changes as the package in another repository without needing to publish to NPM. + +
+Using yalc + +1. Install yalc globally with `npm i yalc -g`. + +2. Run `npm run yalc:build` in the root of your local `cypress-plugin-api` repository (and do this every time you want to make your latest changes available). + +3. Run `yalc link cypress-plugin-api` in the root of your local automation repository (only necessary to do this once). + +4. To constantly pull the latest local api plugin changes into your local automation repository, run `yalc update` from the root. + +5. If you want to stop using yalc, type `yalc retreat --all` in the root of automation repository. And if you want to start using it again, type `yalc restore --all`. + +
+ + + {{ url }} + \ No newline at end of file diff --git a/src/style.css b/src/style.css index 88010cf..1010467 100644 --- a/src/style.css +++ b/src/style.css @@ -187,4 +187,28 @@ details:not([open]) { text-align: center; letter-spacing: 5px; @apply text-cy-blue-dark block md:hidden -my-6; +} + +/* Utility classes for forcing element visibility in Cypress Cloud */ +.cy-force-visible { + display: block !important; + visibility: visible !important; + opacity: 1 !important; +} + +.cy-force-visible-inline { + display: inline-block !important; + visibility: visible !important; + opacity: 1 !important; +} + +.cy-force-visible-flex { + display: flex !important; + visibility: visible !important; + opacity: 1 !important; +} + +/* Additional utility for flex alignment */ +.cy-flex-center { + align-items: center !important; } \ No newline at end of file