Этот коммит содержится в:
Saturnino Abril
2023-09-25 22:09:42 +08:00
коммит произвёл GitHub
родитель 6f4382189f
Коммит 1fc6b96c1b
6 изменённых файлов: 19 добавлений и 16 удалений

Просмотреть файл

@@ -29,12 +29,14 @@ describe('Keyboard Shortcuts', () => {
cy.get('body').cmdOrCtrlShortcut('K');
cy.get('#quickSwitchInput').type('T');
// * Confirm the town-square channel is selected in the suggestion list
cy.get('#suggestionList').findByTestId('town-square').should('be.visible').and('have.class', 'suggestion--selected');
// # Press down arrow
cy.wait(TIMEOUTS.HALF_SEC);
cy.get('body').type('{downarrow}');
cy.get('body').type('{downarrow}');
// * Confirm the offtopic channel is selected in the suggestion list
// * Confirm the off-topic channel is selected in the suggestion list
cy.get('#suggestionList').findByTestId('off-topic').should('be.visible').and('have.class', 'suggestion--selected');
// # Press ENTER

Просмотреть файл

@@ -94,10 +94,8 @@ describe('Keyboard Shortcuts', () => {
});
cy.getLastPostId().then((postId) => {
// * verify Save not shown in webview
cy.findByText('Save').should('not.exist');
cy.viewport('iphone-6');
// * verify Saved not shown in webview
cy.findByText('Saved').should('not.exist');
// # Save Post
cy.uiPostDropdownMenuShortcut(postId, 'Save', 'S', 'RHS_ROOT');