Skip to content

Commit

Permalink
chore: update notification close icon selector
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Dec 1, 2021
1 parent fd8c341 commit d369381
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ context('Create and delete consumer with basic-auth plugin form', () => {
drawer: '.ant-drawer-content',
disabledSwitcher: '#disable',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
monacoViewZones: '.view-zones',
alert: '.ant-form-item-explain-error [role=alert]'
alert: '.ant-form-item-explain-error [role=alert]',
};

const data = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ context('Create and delete consumer with proxy-mirror plugin form', () => {
dropdown: '.rc-virtual-list',
disabledSwitcher: '#disable',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
max_age: '#max_age',
allow_origins_by_regex: '#allow_origins_by_regex_0',
host: '#host',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ context('Create and Delete Consumer', () => {
dropdown: '.rc-virtual-list',
disabledSwitcher: '#disable',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
rate: '#rate',
burst: '#burst',
key: '#key',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create and Delete Consumer', () => {
serviceSelector: '[title=test_service]',
monacoScroll: '.monaco-scrollable-element',
monacoViewZones: '.view-zones',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
};

const data = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ context('Can select service_id skip upstream in route', () => {
nameSelector: '[title=Name]',
serviceSelector: '[title=test_service]',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
enable_websocket: '#enable_websocket',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ context('Create and Delete Route', () => {
nameSelector: '[title=Name]',
monacoScroll: '.monaco-scrollable-element',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
addHost: '[data-cy=addHost]',
schemaErrorMessage: '.ant-form-item-explain.ant-form-item-explain-error',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create Edit and Delete Route with redirect plugin', () => {
customRedirectCode: '[data-cy=redirect_code]',
customRedirectLabel: "[title='Custom Redirect']",
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
webSocketSelector: '[title=WebSocket]',
enable_websocket_button: '#enable_websocket',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ context('Create Route Both use uri and uris', () => {
addUri: '[data-cy=addUri]',
addRemoteAddr: '[data-cy=addRemoteAddr]',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context('Create and delete route with api-breaker form', () => {
break_response_code: '#break_response_code',
alert: '.ant-form-item-explain-error [role=alert]',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context('Create and Edit Route With Custom CHash Key Upstream', () => {
nameSelector: '[title=Name]',
chash_key: '#key',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create and delete route with cors form', () => {
nodes_0_port: '#submitNodes_0_port',
nodes_0_weight: '#submitNodes_0_weight',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
allow_credential: '#allow_credential',
allow_origins_by_regex0: '#allow_origins_by_regex_0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ context('Create and delete route with limit-count form', () => {
nodes_0_port: '#submitNodes_0_port',
nodes_0_weight: '#submitNodes_0_weight',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
pluginCard: '.ant-card',
count: '#count',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create and delete route with limit-req form', () => {
nodes_0_port: '#submitNodes_0_port',
nodes_0_weight: '#submitNodes_0_weight',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
rate: '#rate',
burst: '#burst',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create and delete route with proxy-mirror form', () => {
nodes_0_port: '#submitNodes_0_port',
nodes_0_weight: '#submitNodes_0_weight',
deleteAlert: '.ant-modal-body',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
notification: '.ant-notification-notice-message',
host: '#host',
alert: '.ant-form-item-explain',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ context('Create and delete route with referer-restriction form', () => {
checkedSwitcher: '.ant-switch-checked',
drawer: '.ant-drawer-content',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
deleteAlert: '.ant-modal-body',
whitelist: '#whitelist_0',
whitelist_1: '#whitelist_1',
Expand Down
2 changes: 1 addition & 1 deletion web/cypress/integration/route/import_export_route.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ context('import and export routes', () => {
deleteAlert: '.ant-modal-body',
refresh: '.anticon-reload',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
fileSelector: '[type=file]',
notificationDesc: '.ant-notification-notice-description',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ context('Create and Edit Service with Custom CHash Key Upstream', () => {
chash_key: '#key',
notification: '.ant-notification-notice-message',
nameSearch: '[title=Name]',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
};

const data = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ context('Edit Service with not select Upstream', () => {
input: ':input',
notification: '.ant-notification-notice-message',
nameSearch: '[title=Name]',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
};

const data = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ context('Create and Edit Service with Custom CHash Key Upstream', () => {
chash_key: '#key',
notification: '.ant-notification-notice-message',
nameSearch: '[title=Name]',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
drawer: '.ant-drawer-content',
monacoScroll: '.monaco-scrollable-element',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ context('Save Paginator Status', () => {
paginationOptions: '.ant-pagination-options',
deleteButton: '.ant-btn-dangerous',
notification: '.ant-notification-notice-message',
notificationCloseIcon: '.ant-notification-close-icon',
notificationCloseIcon: '.ant-notification-notice-close-icon',
};

const data = {
Expand Down

0 comments on commit d369381

Please sign in to comment.