1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-08 15:06:08 +02:00

Fixing cypress tests

This commit is contained in:
Jesús Espino 2021-03-30 20:33:21 +02:00
parent d58adf0582
commit a6d0e4cc0b
3 changed files with 12 additions and 12 deletions

View File

@ -34,13 +34,13 @@ describe('Create and delete board / card', () => {
// Rename board view
const boardViewTitle = `Test board (${timestamp})`;
cy.get('.ViewHeader').
contains('.octo-editable', 'Board view').
contains('.Editable', 'Board view').
clear().
type(boardViewTitle).
type('{esc}');
cy.get('.ViewHeader').
contains('.octo-editable', boardViewTitle).
contains('.Editable', boardViewTitle).
should('exist');
});
@ -72,7 +72,7 @@ describe('Create and delete board / card', () => {
// cy.wait('@insertBlocks');
// Wait for round-trip to complete and DOM to update
cy.contains('.octo-editable', 'Table view').should('exist');
cy.contains('.Editable', 'Table view').should('exist');
// Card should exist in table
cy.get(`.TableRow [value='${cardTitle}']`).should('exist');
@ -82,13 +82,13 @@ describe('Create and delete board / card', () => {
// Rename table view
const tableViewTitle = `Test table (${timestamp})`;
cy.get('.ViewHeader').
contains('.octo-editable', 'Table view').
contains('.Editable', 'Table view').
clear().
type(tableViewTitle).
type('{esc}');
cy.get('.ViewHeader').
contains('.octo-editable', tableViewTitle).
contains('.Editable', tableViewTitle).
should('exist');
});

View File

@ -49,13 +49,13 @@
border: 1px solid rgba(46, 170, 220, 0.6);
}
.octo-editable {
.Editable {
padding: 0 5px;
display: relative;
left: -5px;
}
.octo-editable.octo-editable.active {
.Editable.Editable.active {
overflow: hidden;
}
@ -65,7 +65,7 @@
text-overflow: ellipsis;
}
.octo-editable,
.Editable,
.octo-propertyvalue {
text-align: left;
white-space: nowrap;

View File

@ -161,11 +161,11 @@ button {
/*-- Editable --*/
.octo-editable {
.Editable {
cursor: text;
}
.octo-editable.active {
.Editable.active {
min-width: 100px;
}
@ -187,8 +187,8 @@ button {
}
.octo-propertyvalue.octo-editable.active,
.octo-table-cell .octo-editable.active {
.octo-propertyvalue.Editable.active,
.octo-table-cell .Editable.active {
border-radius: 3px;
box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
}