Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit ddb120c

Browse files
Merge branch 'DX-2763' into DX-2821
2 parents 4debeba + 1b29925 commit ddb120c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+4392
-1448
lines changed

.github/workflows/cypress-prod-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
# overwrite commit message sent to Dashboard
4242
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
4343
# re-enable PR comment bot
44-
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
44+
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}

.github/workflows/publish-docsite.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
fail-fast: false
101101
matrix:
102102
os: [ubuntu-latest]
103-
browser: [chrome, firefox]
103+
browser: [chrome]
104104
steps:
105105
- name: Setup Node
106106
uses: actions/setup-node@v2

cypress/e2e/tests/api_reference.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,4 +848,4 @@ context('Insights API Text Link on Homepage', () => {
848848
})
849849
cy.go(-1)
850850
})
851-
})
851+
})

cypress/e2e/tests/api_reference_download_button.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ describe('Verify download button exists in the Voice API Reference Page', () =>
8888
.children('a')
8989
.contains("Download")
9090
})
91-
})
91+
})

cypress/e2e/tests/css.cy.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ describe('Lightmode/Darkmode', () => {
1010
})
1111
})
1212

13-
describe('Main font', () => {
14-
it('Should verify that the correct font it being used in the Navbar', () => {
15-
cy.visit('/')
16-
.get('a.navbar__link')
17-
.contains('US & Canada APIs')
18-
.should('have.css', 'font-family')
19-
.and('match', /Overpass Bold/)
20-
})
21-
})
13+
describe('Main font', () => {
14+
it('Should verify that the correct font it being used in the Navbar', () => {
15+
cy.visit('/')
16+
.get('a.navbar__link')
17+
.contains('US & Canada APIs')
18+
.should('have.css', 'font-family')
19+
.and('match', /Overpass Bold/)
20+
})
21+
})

cypress/e2e/tests/docs.cy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,5 +397,3 @@ describe('Edit This Page Link', () => {
397397
.should('have.attr', 'href', 'https://github.com/Bandwidth/api-docs/edit/main/site/docs/intro.mdx')
398398
})
399399
})
400-
401-

cypress/e2e/tests/docs_sidebar.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,4 +466,4 @@ describe('Open 911 Access Dashboard Tab under Emergency Services', () => {
466466
.should('have.attr', 'aria-expanded')
467467
.and('match', /false/)
468468
})
469-
})
469+
})

cypress/e2e/tests/footer.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ describe('LinkedIn, Twitter, Youtube, Github', () => {
213213
describe('Call to Action', () => {
214214
it('Should verify that the call to action link exists', () => {
215215
cy.get('[class*="callToAction"]')
216+
.siblings('div')
216217
.children('a')
217218
.should('have.attr', 'href', 'https://www.bandwidth.com/contact/')
218219
})
219220
})
220-

cypress/e2e/tests/home.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,4 +506,4 @@ context('WebRTC Product Text Link on Homepage', () => {
506506
})
507507
cy.go(-1)
508508
})
509-
})
509+
})

cypress/e2e/tests/navbar.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ context('Global Docs and API Ref', () => {
211211
it('visits /apis/global/ directly', () => {
212212

213213
cy.visit('/apis/global/', {
214-
timeout: 120000, // increase total time for the visit to resolve
214+
timeout: 50000, // increase total time for the visit to resolve
215215
onBeforeLoad (contentWindow) {
216216
// contentWindow is the remote page's window object
217217
expect(typeof contentWindow === 'object').to.be.true

0 commit comments

Comments
 (0)