chore: update test asserting SSL (#1136)
This commit is contained in:
parent
e269fdb8d4
commit
50da2a9d3c
@ -36,7 +36,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
id: go
|
id: go
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.19
|
||||||
- name: Set up Node 16
|
- name: Set up Node 16
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
id: npm
|
id: npm
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
|||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
id: go
|
id: go
|
||||||
with:
|
with:
|
||||||
go-version: 1.18
|
go-version: 1.19
|
||||||
- name: Set up Node 16
|
- name: Set up Node 16
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
id: npm
|
id: npm
|
||||||
|
@ -31,7 +31,7 @@ context('Node switcher', function () {
|
|||||||
cy.contains('-').should('not.exist');
|
cy.contains('-').should('not.exist');
|
||||||
cy.getByTestId('response-time-cell').should('contain.text', 'ms');
|
cy.getByTestId('response-time-cell').should('contain.text', 'ms');
|
||||||
cy.getByTestId('block-cell').should('not.be.empty');
|
cy.getByTestId('block-cell').should('not.be.empty');
|
||||||
cy.getByTestId('ssl-cell').should('have.text', 'Yes');
|
cy.getByTestId('ssl-cell').should('not.be.empty');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -55,9 +55,12 @@ context('Node switcher', function () {
|
|||||||
cy.getByTestId('node-url-custom').click();
|
cy.getByTestId('node-url-custom').click();
|
||||||
|
|
||||||
cy.getByTestId(customNodeBtn).within(() => {
|
cy.getByTestId(customNodeBtn).within(() => {
|
||||||
cy.get('input').clear().type('https://api.token.vega.xyz/query');
|
cy.get('input')
|
||||||
|
.clear()
|
||||||
|
.type('https://api.n10.testnet.vega.xyz/graphql');
|
||||||
cy.getByTestId('link').click();
|
cy.getByTestId('link').click();
|
||||||
});
|
});
|
||||||
|
cy.getByTestId('ssl-cell').should('contain.text', 'Yes');
|
||||||
validateNodeError(errorTypeTxt, nodeErrorTxt);
|
validateNodeError(errorTypeTxt, nodeErrorTxt);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user