Cypress & iFrames/x-origin issues.
Currently working Browsers & Modes
- Chrome Headed
- Cypress UI
- Cypress CLI
- Chrome Headless
- Cypress UI
- Cypress CLI
[ | |
{ "type": "escape", "align": "left" }, | |
{ | |
"type": "appleScriptTitledButton", | |
"source": { | |
"inline": | |
"if application \"iTunes\" is running then\rtell application \"iTunes\"\rif player state is playing then\rreturn (get artist of current track) & \" – \" & (get name of current track)\relse\rreturn \"\"\rend if\rend tell\rend if\rreturn \"\"\r" | |
}, | |
"action": "appleScript", | |
"actionAppleScript": { |
Cypress & iFrames/x-origin issues.
Currently working Browsers & Modes
version: 2.1 | |
jobs: | |
test: | |
macos: | |
xcode: 10.1.0 | |
working_directory: ~/app | |
steps: | |
- checkout | |
- run: |
No | Description of test case | Sort code | Accountnumber | Valid flag | Response |
---|---|---|---|---|---|
1 | Pass modulus 10 check | 089999 | 66374958 | Y | |
2 | Pass modulus 11 check | 107999 | 88837491 | Y | |
3 | Pass modulus 11 and double alternate checks. | 202959 | 63748472 | Y | |
4 | Exception 10 & 11 where first check passes and second check fails. | 871427 | 46238510 | Y | |
5 | Exception 10 & 11 where first check fails and second check passes. | 872427 | 46238510 | Y | |
6 | Exception 10 where in the account number ab=09 and the g=9. The first check passes and second check fails. | 871427 | 09123496 | Y |
#!/bin/bash | |
USER=${1:-YOU54F} | |
STARS=$(curl -sI https://api.github.com/users/$USER/starred?per_page=1|egrep '^Link'|egrep -o 'page=[0-9]+'|tail -1|cut -c6-) | |
PAGES=$((658/100+1)) | |
echo You have $STARS starred repositories. | |
echo |
for repo in $(gh repo list -L 100 | awk {'print $1}'); do | |
for pr_no in $(gh pr list -R $repo | awk {'print $1}'); do | |
gh pr merge -R $repo -s $pr_no | |
done | |
done |
Web Service workers, you may not have heard of them but they help provide rich offline experiences, periodic background syncs, push notifications—functionality that would normally require a native applications
Now as much as I love rich web experiences, I know from first hand experience, how painful they can be to test. Thankfully the OSS community heard our collective cry and the msw.js team created Mock Service Worker
I’ll let them explain in their own words why -
#!/bin/sh | |
export ORG=pact-foundation | |
mkdir $ORG; cd $ORG | |
gh repo list $ORG --limit 9999 --json url | jq '.[]|.url' | xargs -n1 git clone |
#!/bin/bash | |
# store the current dir | |
CUR_DIR=$(pwd) | |
# Let the person running the script know what's going on. | |
echo "[Pulling in latest changes for all repositories...]" | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find . -name ".git" | cut -c 3-); do |