Skip to content

Commit

Permalink
fix(addon-tablebars): fixed close button in table bar (#3184)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Aleksyutin <[email protected]>
  • Loading branch information
gyxman and Roman Aleksyutin authored Dec 12, 2022
1 parent 74df80d commit bf5d6bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
]
type: [desktop]
include:
- project: addon-tablebars
type: mobile
- project: kit
type: mobile
name: ${{ matrix.project }} / ${{ matrix.type }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@

.t-close-button {
margin-left: 1.5rem;

:host-context(tui-root._mobile) & {
position: absolute;
top: -0.125rem;
right: -0.125rem;
}
}

.t-content {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import {DEFAULT_TIMEOUT_BEFORE_ACTION} from '@demo-integrations/support/properties/shared.entities';

describe(`TableBarsService`, () => {
it(`works`, () => {
cy.tuiVisit(`/services/table-bars-service`);

cy.get(`tui-table-bar-example-1 button`).first().click();
cy.getByAutomationId(`tui-table-bar__bar`)
.first()
.wait(DEFAULT_TIMEOUT_BEFORE_ACTION)
.matchImageSnapshot(`table-bars`);
});
});

0 comments on commit bf5d6bd

Please sign in to comment.