Merge remote-tracking branch 'origin/master'

This commit is contained in:
Hosted Weblate 2021-10-04 16:39:53 +02:00
commit e49416efd7
No known key found for this signature in database
GPG Key ID: A3FAAA06E6569B4C
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,17 @@
describe(__filename, function () {
const fixture = [
['a', 'b', 'c'],
['0a', '0b', '0c'],
['1a', '1b', '1c']
];
it('it collapses all columns', function () {
cy.loadAndVisitProject(fixture);
cy.columnActionClick('All', ['View', 'Collapse all columns']);
cy.get('[title="a"]').should('to.contain', '');
cy.get('[title="b"]').should('to.contain', '');
cy.get('[title="c"]').should('to.contain', '');
});
});

View File

@ -0,0 +1,14 @@
describe(__filename, function () {
const fixture = [
['a', 'b', 'c'],
['0a', '0b', '0c'],
['1a', '1b', '1c']
];
it('it collapses all columns', function () {
cy.loadAndVisitProject(fixture);
cy.columnActionClick('a', ['View', 'Collapse this column']);
cy.get('[title="a"]').should('to.contain', '');
});
});

View File

@ -0,0 +1,16 @@
describe(__filename, function () {
const fixture = [
['a', 'b', 'c'],
['0a', '0b', '0c'],
['1a', '1b', '1c']
];
it('it collapses all columns to left', function () {
cy.loadAndVisitProject(fixture);
cy.columnActionClick('c', ['View', 'Collapse all columns to left']);
cy.get('[title="a"]').should('to.contain', '');
cy.get('[title="b"]').should('to.contain', '');
});
});

View File

@ -0,0 +1,16 @@
describe(__filename, function () {
const fixture = [
['a', 'b', 'c'],
['0a', '0b', '0c'],
['1a', '1b', '1c']
];
it('it collapses all columns to right', function () {
cy.loadAndVisitProject(fixture);
cy.columnActionClick('a', ['View', 'Collapse all columns to right']);
cy.get('[title="b"]').should('to.contain', '');
cy.get('[title="c"]').should('to.contain', '');
});
});