Remove redundant button styles and use proper button classes (#30929)

* remove redundant button styles and use proper button classes

* remove import for contact_us css

* fix view plans button to be xs

* tweak to disabled state on save button in floating bar

* change contact us to tertiary button like before

* updated btn-full on free edition right panel

* update contact button to be primary when shown in the trial card

* fix issue with hover state on save changes panel error state

* fix style lint issues

* update snapshots

* fixed a few license page buttons

* fix lint issue

* Update index.test.tsx.snap

* add empty end lines

* fixed scope of css so it doesn't affect product switcher

* upate button font size for xs, update bg color for button in announce bar

* fix lint error

* update missed cancel buttons to use proper classes

* fixed text spec to find the right button

* updated snapshots

* fix issue with test on cancel button

* update snapshots
Этот коммит содержится в:
Matthew Birtch
2025-06-03 15:37:20 -04:00
коммит произвёл GitHub
родитель 0a7be9f034
Коммит a87d29fce7
66 изменённых файлов: 162 добавлений и 654 удалений

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

@@ -62,7 +62,7 @@ describe('Incoming webhook', () => {
// * Verify that the hook ID in the URL matches with the one shown in a page
// * Verify that the copy link is shown.
cy.findByText(hookUrl).should('be.visible').
parent().siblings('.fa-copy').should('be.visible');
parent().siblings('[data-testid="copyText"]').should('be.visible');
// # Click "Done" and verify that it redirects to incoming webhooks URL
cy.findByText('Done').click();

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

@@ -64,7 +64,7 @@ describe('Incoming webhook', () => {
// * Verify that the hook ID in the URL matches with the one shown in a page
// * Verify that the copy link is shown.
cy.findByText(hookUrl).should('be.visible').
parent().siblings('.fa-copy').should('be.visible');
parent().siblings('[data-testid="copyText"]').should('be.visible');
// # Click "Done" and verify that it redirects to incoming webhooks URL
cy.findByText('Done').click();