Skip to content

Instantly share code, notes, and snippets.

View pablocattaneo's full-sized avatar

Pablo Cattaneo pablocattaneo

View GitHub Profile
// https://go.dev/tour/moretypes/16
// https://chatgpt.com/share/69304294-58ac-8006-9cde-961288946986
package main
import "fmt"
var pow = []int{1, 2, 4, 8, 16, 32, 64, 128}
func main() {
https://playwright.dev/docs/api/class-page#page-get-by-role-option-role

List of Some Common HTML Elements and Their Implicit ARIA Roles Here are some HTML elements and the implicit ARIA roles they map to (per HTML-AAM spec):

HTML Element Implicit ARIA Role
<a href="…"> link ([W3C][1])
<button> button ([W3C][2])
<input type="checkbox"> checkbox ([W3C][3])
<input type="radio"> radio ([W3C][3])
`` slider (because A
go to settings/environments/staging
Activate branch tracking and set the branch
save it
got to /deployments and deploy it with the name of the branch set
npx playwright test
Runs the end-to-end tests.
npx playwright test --ui
Starts the interactive UI mode.
npx playwright test --project=chromium
Runs the tests only on Desktop Chrome.
npx playwright test example
# eas update --channel [channel] --message "Description of your update"
# When you run `eas update --channel qa`, it publishes your current local working directory** to the QA channel, including the variables set on .env!!
# CLEAR CACHE is abosolute fundamental!!!!
eas update --channel qa --message "Description of your update" --clear-cache
https://www.npmjs.com/package/@testing-library/user-event