Skip to content

Commit

Permalink
Merge pull request #263 from Synthetixio/dev
Browse files Browse the repository at this point in the history
promote dev to master
  • Loading branch information
drptbl authored Nov 1, 2021
2 parents 98704f1 + a78db26 commit 8b15ac7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit_and_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Upload lint results
# run if lint failed and only on master/dev branch and pull requests
if: always() && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.event_name == 'pull_request')
uses: github/codeql-action/upload-sarif@e86ea38e3f233a8bcf5afc904ee9fb422d5cf6e8 # pin@codeql-bundle-20210517
uses: github/codeql-action/upload-sarif@e891551dd4836643fb9f223d7ff08e83e8073534 # pin@codeql-bundle-20210517
with:
sarif_file: lint-results.sarif
continue-on-error: true
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97 # pin@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@e86ea38e3f233a8bcf5afc904ee9fb422d5cf6e8
uses: github/codeql-action/init@e891551dd4836643fb9f223d7ff08e83e8073534
with:
queries: security-and-quality
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e86ea38e3f233a8bcf5afc904ee9fb422d5cf6e8
uses: github/codeql-action/analyze@e891551dd4836643fb9f223d7ff08e83e8073534
1 change: 1 addition & 0 deletions commands/metamask.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ module.exports = {
}
// metamask reloads popup after changing a fee, you have to wait for this event otherwise transaction will fail
await puppeteer.metamaskWindow().waitForTimeout(3000);
await notificationPage.waitForFunction(`document.querySelector('${confirmPageElements.gasLimitInput}').value != "0"`);
await puppeteer.waitAndClick(
confirmPageElements.confirmButton,
notificationPage,
Expand Down
2 changes: 1 addition & 1 deletion commands/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ module.exports = {
waitForText: async (selector, text, page = metamaskWindow) => {
await module.exports.waitFor(selector, page);
await page.waitForFunction(
`document.querySelector('${selector}').innerText.toLowerCase().includes('${text}')`,
`document.querySelector('${selector}').innerText.toLowerCase().includes('${text.toLowerCase()}')`,
);
},
};

0 comments on commit 8b15ac7

Please sign in to comment.