@digital-realty/ix-notifications 1.1.71 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* eslint-disable no-await-in-loop */
|
|
2
2
|
import { expect } from '@open-wc/testing';
|
|
3
3
|
import { executeServerCommand, sendKeys, sendMouse, } from '@web/test-runner-commands';
|
|
4
|
-
import '../src/testHarness.js';
|
|
5
4
|
import { fixtureBeforeEach, fixtureBefore, fixtureAfterEach, screenshotAndCompare,
|
|
6
5
|
// mockDataMeta
|
|
7
6
|
} from './utils/helpers.js';
|
|
8
7
|
describe('date filter', () => {
|
|
9
8
|
let dateFilterDropDownInfo = [];
|
|
9
|
+
let testHarness;
|
|
10
10
|
before(async () => {
|
|
11
11
|
await fixtureBefore();
|
|
12
12
|
});
|
|
13
13
|
beforeEach(async () => {
|
|
14
|
-
await fixtureBeforeEach();
|
|
14
|
+
testHarness = await fixtureBeforeEach();
|
|
15
15
|
await executeServerCommand('mouseFocusInfo', {
|
|
16
16
|
selector: '[data-testid="notifications-cta-filter-date"] md-icon-button',
|
|
17
17
|
});
|
|
@@ -121,70 +121,14 @@ describe('date filter', () => {
|
|
|
121
121
|
// Format all dates
|
|
122
122
|
const now = formatDate(today);
|
|
123
123
|
const prev = formatDate(yesterday);
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
press: 'Backspace',
|
|
133
|
-
});
|
|
134
|
-
await sendKeys({
|
|
135
|
-
press: 'ArrowRight',
|
|
136
|
-
});
|
|
137
|
-
await sendKeys({
|
|
138
|
-
press: 'ArrowRight',
|
|
139
|
-
});
|
|
140
|
-
await sendKeys({
|
|
141
|
-
type: prev.year,
|
|
142
|
-
});
|
|
143
|
-
await sendKeys({
|
|
144
|
-
press: 'ArrowLeft',
|
|
145
|
-
});
|
|
146
|
-
await sendKeys({
|
|
147
|
-
type: prev.day,
|
|
148
|
-
});
|
|
149
|
-
await sendKeys({
|
|
150
|
-
press: 'ArrowLeft',
|
|
151
|
-
});
|
|
152
|
-
await sendKeys({
|
|
153
|
-
press: 'ArrowLeft',
|
|
154
|
-
});
|
|
155
|
-
await sendKeys({
|
|
156
|
-
type: prev.month,
|
|
157
|
-
});
|
|
158
|
-
await executeServerCommand('mouseFocusInfo', {
|
|
159
|
-
selector: '[data-testid="notifications-to-date"]',
|
|
160
|
-
});
|
|
161
|
-
await sendKeys({
|
|
162
|
-
press: 'Backspace',
|
|
163
|
-
});
|
|
164
|
-
await sendKeys({
|
|
165
|
-
press: 'ArrowRight',
|
|
166
|
-
});
|
|
167
|
-
await sendKeys({
|
|
168
|
-
press: 'ArrowRight',
|
|
169
|
-
});
|
|
170
|
-
await sendKeys({
|
|
171
|
-
type: now.year,
|
|
172
|
-
});
|
|
173
|
-
await sendKeys({
|
|
174
|
-
press: 'ArrowLeft',
|
|
175
|
-
});
|
|
176
|
-
await sendKeys({
|
|
177
|
-
type: now.day,
|
|
178
|
-
});
|
|
179
|
-
await sendKeys({
|
|
180
|
-
press: 'ArrowLeft',
|
|
181
|
-
});
|
|
182
|
-
await sendKeys({
|
|
183
|
-
press: 'ArrowLeft',
|
|
184
|
-
});
|
|
185
|
-
await sendKeys({
|
|
186
|
-
type: now.month,
|
|
187
|
-
});
|
|
124
|
+
const ixDates = testHarness
|
|
125
|
+
.shadowRoot.querySelector('ix-notifications')
|
|
126
|
+
.shadowRoot.querySelector('ix-drawer div[slot="content"] date-filters')
|
|
127
|
+
.shadowRoot.querySelectorAll('ix-date');
|
|
128
|
+
ixDates[0].shadowRoot.querySelector('ix-field input').value = `${prev.year}-${prev.month}-${prev.day}`;
|
|
129
|
+
ixDates[0].onChanged(`${prev.year}-${prev.month}-${prev.day}`);
|
|
130
|
+
ixDates[1].shadowRoot.querySelector('ix-field input').value = `${now.year}-${now.month}-${now.day}`;
|
|
131
|
+
ixDates[1].onChanged(`${now.year}-${now.month}-${now.day}`);
|
|
188
132
|
await screenshotAndCompare('filter-data-dropdown-populated');
|
|
189
133
|
await executeServerCommand('mouseFocusInfo', {
|
|
190
134
|
selector: '[data-testid="notifications-activate-date-filter"]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-filter.test.js","sourceRoot":"","sources":["../../test/date-filter.test.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EACL,oBAAoB,EACpB,QAAQ,EACR,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAEhB,oBAAoB;AACpB,gBAAgB;EACjB,MAAM,oBAAoB,CAAC;AAE5B,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,IAAI,sBAAsB,GAAgB,EAAE,CAAC;IAE7C,MAAM,CAAC,KAAK,IAAI,EAAE;QAChB,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,iBAAiB,EAAE,CAAC;QAE1B,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YAC3C,QAAQ,EAAE,8DAA8D;SACzE,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC;YACb,KAAK,EAAE,OAAO;SACf,CAAC,CAAC;QAEH,sBAAsB,GAAG,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YACpE,QAAQ,EAAE,oDAAoD;YAC9D,MAAM,EAAE,MAAM;SACf,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB,gBAAgB,EAAE,CAAC;IACrB,CAAC,CAAC,CAAC;IAE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eslint-disable no-await-in-loop */\nimport { expect } from '@open-wc/testing';\n\nimport {\n executeServerCommand,\n sendKeys,\n sendMouse,\n} from '@web/test-runner-commands';\nimport '../src/testHarness.js';\nimport {\n fixtureBeforeEach,\n fixtureBefore,\n fixtureAfterEach,\n TelemInfo,\n screenshotAndCompare,\n // mockDataMeta\n} from './utils/helpers.js';\n\ndescribe('date filter', () => {\n let dateFilterDropDownInfo: TelemInfo[] = [];\n\n before(async () => {\n await fixtureBefore();\n });\n\n beforeEach(async () => {\n await fixtureBeforeEach();\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cta-filter-date\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n });\n\n afterEach(async () => {\n fixtureAfterEach();\n });\n\n it('should be open and toggle visibility when clicking the button', async () => {\n expect(dateFilterDropDownInfo[0].isVisible).to.be.true;\n\n await screenshotAndCompare('filter-date-dropdown-open');\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n\n await screenshotAndCompare('filter-date-dropdown-closed');\n });\n\n it('should close when clicking outside the dropdown', async () => {\n const headingPosition: [number, number] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-heading\"]',\n action: 'mouse',\n }\n );\n\n await sendMouse({\n type: 'click',\n position: headingPosition,\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n });\n\n it('should close when clicking cancel', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cancel-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n });\n\n it('should trigger validation on the from date field', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-from-date\"]',\n });\n\n await sendKeys({\n press: 'Backspace',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n const fromValidationError: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-from-date\"] ix-field.error',\n action: 'info',\n }\n );\n\n expect(fromValidationError.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-dropdown-from-error');\n });\n\n it('should trigger validation on the to date field', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-to-date\"]',\n });\n\n await sendKeys({\n press: 'Backspace',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n const fromValidationError: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-to-date\"] ix-field.error',\n action: 'info',\n }\n );\n\n expect(fromValidationError.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-dropdown-to-error');\n });\n\n it('should filter out items which do not match the date range and clearing the filter should restore them', async () => {\n const formatDate = (date: Date) => ({\n day: date.getDate().toString().padStart(2, '0'),\n month: (date.getMonth() + 1).toString().padStart(2, '0'),\n year: date.getFullYear().toString(),\n });\n\n // Get today's date\n const today = new Date();\n\n // Get yesterday's date\n const yesterday = new Date(today);\n yesterday.setDate(today.getDate() - 1);\n\n // Format all dates\n const now = formatDate(today);\n const prev = formatDate(yesterday);\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-from-date\"]',\n });\n\n // TODO: these key strokes are in the wrong order because the date picker is not formatted correctly\n // I also have problems in general with typing in the date picker, it might be the max attribute\n // or it might be just trying to validate too much as I type, if you start typing a month and press just\n // '3', it will move you into the next field because there is no 30th month so you must start with '1' or '0'.\n await sendKeys({\n press: 'Backspace',\n });\n\n await sendKeys({\n press: 'ArrowRight',\n });\n\n await sendKeys({\n press: 'ArrowRight',\n });\n\n await sendKeys({\n type: prev.year,\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n\n await sendKeys({\n type: prev.day,\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n\n await sendKeys({\n type: prev.month,\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-to-date\"]',\n });\n\n await sendKeys({\n press: 'Backspace',\n });\n\n await sendKeys({\n press: 'ArrowRight',\n });\n\n await sendKeys({\n press: 'ArrowRight',\n });\n\n await sendKeys({\n type: now.year,\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n\n await sendKeys({\n type: now.day,\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n\n await sendKeys({\n press: 'ArrowLeft',\n });\n await sendKeys({\n type: now.month,\n });\n\n await screenshotAndCompare('filter-data-dropdown-populated');\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n let notificationItemInfo: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: 'notification-item',\n action: 'info',\n }\n );\n\n expect(notificationItemInfo.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-applied');\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cta-filter-date\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector:\n '[data-testid=\"notifications-clear-date-filter\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n notificationItemInfo = await executeServerCommand('mouseFocusInfo', {\n selector: 'notification-item',\n action: 'info',\n });\n\n // TODO: Fix this functionality\n // expect(notificationItemInfo.length).to.equal(mockDataMeta.itemsCount);\n\n await screenshotAndCompare('filter-date-cleared');\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"date-filter.test.js","sourceRoot":"","sources":["../../test/date-filter.test.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EACL,oBAAoB,EACpB,QAAQ,EACR,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,gBAAgB,EAEhB,oBAAoB;AACpB,gBAAgB;EACjB,MAAM,oBAAoB,CAAC;AAG5B,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,IAAI,sBAAsB,GAAgB,EAAE,CAAC;IAC7C,IAAI,WAAqC,CAAC;IAE1C,MAAM,CAAC,KAAK,IAAI,EAAE;QAChB,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC,CAAC,CAAC;IAEH,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,WAAW,GAAG,MAAM,iBAAiB,EAAE,CAAC;QAExC,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YAC3C,QAAQ,EAAE,8DAA8D;SACzE,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC;YACb,KAAK,EAAE,OAAO;SACf,CAAC,CAAC;QAEH,sBAAsB,GAAG,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YACpE,QAAQ,EAAE,oDAAoD;YAC9D,MAAM,EAAE,MAAM;SACf,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB,gBAAgB,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BAAqB,CAAC,CAAC;QAElD,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YAC3C,QAAQ,EAAE,8DAA8D;SACzE,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC;YACb,KAAK,EAAE,OAAO;SACf,CAAC,CAAC;QAEH,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YAC3C,QAAQ,EACN,gEAAgE;SACnE,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC;YACb,KAAK,EAAE,OAAO;SACf,CAAC,CAAC;QAEH,oBAAoB,GAAG,MAAM,oBAAoB,CAAC,gBAAgB,EAAE;YAClE,QAAQ,EAAE,mBAAmB;YAC7B,MAAM,EAAE,MAAM;SACf,CAAC,CAAC;QAEH,+BAA+B;QAC/B,yEAAyE;QAEzE,MAAM,oBAAoB,CAAC,qBAAqB,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/* eslint-disable no-await-in-loop */\nimport { expect } from '@open-wc/testing';\n\nimport {\n executeServerCommand,\n sendKeys,\n sendMouse,\n} from '@web/test-runner-commands';\nimport {\n fixtureBeforeEach,\n fixtureBefore,\n fixtureAfterEach,\n TelemInfo,\n screenshotAndCompare,\n // mockDataMeta\n} from './utils/helpers.js';\nimport { NotificationsTestHarness } from '../src/testHarness.js';\n\ndescribe('date filter', () => {\n let dateFilterDropDownInfo: TelemInfo[] = [];\n let testHarness: NotificationsTestHarness;\n\n before(async () => {\n await fixtureBefore();\n });\n\n beforeEach(async () => {\n testHarness = await fixtureBeforeEach();\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cta-filter-date\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n });\n\n afterEach(async () => {\n fixtureAfterEach();\n });\n\n it('should be open and toggle visibility when clicking the button', async () => {\n expect(dateFilterDropDownInfo[0].isVisible).to.be.true;\n\n await screenshotAndCompare('filter-date-dropdown-open');\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n\n await screenshotAndCompare('filter-date-dropdown-closed');\n });\n\n it('should close when clicking outside the dropdown', async () => {\n const headingPosition: [number, number] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-heading\"]',\n action: 'mouse',\n }\n );\n\n await sendMouse({\n type: 'click',\n position: headingPosition,\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n });\n\n it('should close when clicking cancel', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cancel-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n dateFilterDropDownInfo = await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-date-filter-dropdown\"]',\n action: 'info',\n });\n\n expect(dateFilterDropDownInfo[0].isVisible).to.be.false;\n });\n\n it('should trigger validation on the from date field', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-from-date\"]',\n });\n\n await sendKeys({\n press: 'Backspace',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n const fromValidationError: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-from-date\"] ix-field.error',\n action: 'info',\n }\n );\n\n expect(fromValidationError.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-dropdown-from-error');\n });\n\n it('should trigger validation on the to date field', async () => {\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-to-date\"]',\n });\n\n await sendKeys({\n press: 'Backspace',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n const fromValidationError: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: '[data-testid=\"notifications-to-date\"] ix-field.error',\n action: 'info',\n }\n );\n\n expect(fromValidationError.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-dropdown-to-error');\n });\n\n it('should filter out items which do not match the date range and clearing the filter should restore them', async () => {\n const formatDate = (date: Date) => ({\n day: date.getDate().toString().padStart(2, '0'),\n month: (date.getMonth() + 1).toString().padStart(2, '0'),\n year: date.getFullYear().toString(),\n });\n\n // Get today's date\n const today = new Date();\n\n // Get yesterday's date\n const yesterday = new Date(today);\n yesterday.setDate(today.getDate() - 1);\n\n // Format all dates\n const now = formatDate(today);\n const prev = formatDate(yesterday);\n\n const ixDates: any = testHarness\n .shadowRoot!.querySelector('ix-notifications')!\n .shadowRoot!.querySelector('ix-drawer div[slot=\"content\"] date-filters')!\n .shadowRoot!.querySelectorAll('ix-date');\n\n ixDates[0].shadowRoot!.querySelector(\n 'ix-field input'\n ).value = `${prev.year}-${prev.month}-${prev.day}`;\n ixDates[0].onChanged(`${prev.year}-${prev.month}-${prev.day}`);\n ixDates[1].shadowRoot!.querySelector(\n 'ix-field input'\n ).value = `${now.year}-${now.month}-${now.day}`;\n ixDates[1].onChanged(`${now.year}-${now.month}-${now.day}`);\n\n await screenshotAndCompare('filter-data-dropdown-populated');\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-activate-date-filter\"]',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n let notificationItemInfo: TelemInfo[] = await executeServerCommand(\n 'mouseFocusInfo',\n {\n selector: 'notification-item',\n action: 'info',\n }\n );\n\n expect(notificationItemInfo.length).to.equal(1);\n\n await screenshotAndCompare('filter-date-applied');\n\n await executeServerCommand('mouseFocusInfo', {\n selector: '[data-testid=\"notifications-cta-filter-date\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n await executeServerCommand('mouseFocusInfo', {\n selector:\n '[data-testid=\"notifications-clear-date-filter\"] md-icon-button',\n });\n\n await sendKeys({\n press: 'Space',\n });\n\n notificationItemInfo = await executeServerCommand('mouseFocusInfo', {\n selector: 'notification-item',\n action: 'info',\n });\n\n // TODO: Fix this functionality\n // expect(notificationItemInfo.length).to.equal(mockDataMeta.itemsCount);\n\n await screenshotAndCompare('filter-date-cleared');\n });\n});\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-notifications following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.2.2",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/src/index.js",
|
|
9
9
|
"module": "dist/src/index.js",
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@adobe/lit-mobx": "^2.2.2",
|
|
44
|
-
"@digital-realty/ix-app-logic": "^1.
|
|
45
|
-
"@digital-realty/ix-button": "^3.
|
|
46
|
-
"@digital-realty/ix-date": "^1.1
|
|
47
|
-
"@digital-realty/ix-dialog": "^1.1
|
|
48
|
-
"@digital-realty/ix-divider": "^1.1
|
|
49
|
-
"@digital-realty/ix-drawer": "^1.1
|
|
50
|
-
"@digital-realty/ix-icon": "^1.1
|
|
51
|
-
"@digital-realty/ix-icon-button": "^1.1
|
|
52
|
-
"@digital-realty/ix-switch": "^2.
|
|
53
|
-
"@digital-realty/ix-toast": "^1.1
|
|
44
|
+
"@digital-realty/ix-app-logic": "^1.2.2",
|
|
45
|
+
"@digital-realty/ix-button": "^3.4.1",
|
|
46
|
+
"@digital-realty/ix-date": "^1.2.1",
|
|
47
|
+
"@digital-realty/ix-dialog": "^1.2.1",
|
|
48
|
+
"@digital-realty/ix-divider": "^1.2.1",
|
|
49
|
+
"@digital-realty/ix-drawer": "^1.2.1",
|
|
50
|
+
"@digital-realty/ix-icon": "^1.2.1",
|
|
51
|
+
"@digital-realty/ix-icon-button": "^1.2.1",
|
|
52
|
+
"@digital-realty/ix-switch": "^2.3.1",
|
|
53
|
+
"@digital-realty/ix-toast": "^1.2.1",
|
|
54
54
|
"@digital-realty/ix-twlit": "1.0.1",
|
|
55
55
|
"@floating-ui/dom": "^1.6.8",
|
|
56
56
|
"@material/web": "1.2.0",
|
|
@@ -151,5 +151,5 @@
|
|
|
151
151
|
"README.md",
|
|
152
152
|
"LICENSE"
|
|
153
153
|
],
|
|
154
|
-
"gitHead": "
|
|
154
|
+
"gitHead": "e649f54e843d44a20c8ab4c1052b4ea6ffca54fa"
|
|
155
155
|
}
|