-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(139): Custom editing field for topics in the Bridge form * refactor(139): refactor custom component to allow support for multi t… * refactor(139): refactor custom component to allow support for multi t… * feat(139): add component for single and multiple topics editing * refactor(139): renaming dependencies * refactor(139): refactor topic component to allow custom styles and co… * feat(139): add custom renderer for the multiple values * feat(139): add existing topics as options to the components * refactor(139): refactor form to use the topic editor * test(139): add cypress intercept cleaning command * test(139): replace the QueryClient of the wrapper to ensure new conte… * test(139): add tests for multiple topics * refactor(139): improve rendering of the topic string * chore(139): update README and dotenv files * test(139): fix test for topic rendering
- Loading branch information
Showing
17 changed files
with
277 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
VITE_API_BASE_URL="the base URL of the API server" | ||
|
||
PERCY_TOKEN="The token from Percy project" | ||
PERCY_BRANCH=local | ||
PERCY_PARALLEL_TOTAL=-1 | ||
PERCY_PARALLEL_NONCE=1234 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
hivemq-edge/src/frontend/cypress/support/commands/clearInterceptList.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// @ts-ignore an import is not working | ||
import { Interception } from 'cypress/types/net-stubbing' | ||
|
||
export const clearInterceptList = (interceptAlias: string): void => { | ||
cy.get(interceptAlias + '.all').then((browserRequests: Interception) => { | ||
for (const request of browserRequests) { | ||
if (!request.requestWaited && request.state !== 'Received') { | ||
cy.wait(interceptAlias) | ||
} | ||
} | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.