Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Product Widget #1482

Merged
merged 112 commits into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from 109 commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d633abe
Merge pull request #868 from ChainSafe/dev
FSM1 Apr 2, 2021
0392f31
Merge pull request #908 from ChainSafe/dev
FSM1 Apr 12, 2021
ef657f1
Merge pull request #964 from ChainSafe/dev
FSM1 Apr 22, 2021
c60b181
Merge pull request #983 from ChainSafe/dev
FSM1 Apr 26, 2021
4e362c8
Release latest to Stage (#988)
FSM1 Apr 27, 2021
9d7d8b1
Merge pull request #989 from ChainSafe/stage
FSM1 Apr 27, 2021
00dcb17
Merge pull request #996 from ChainSafe/dev
FSM1 Apr 27, 2021
d3fb1b1
Merge pull request #997 from ChainSafe/stage
FSM1 Apr 27, 2021
c9d65e3
Merge pull request #1009 from ChainSafe/dev
FSM1 May 7, 2021
75bbbd0
fix link (#1025)
FSM1 May 11, 2021
530b582
Merge pull request #1059 from ChainSafe/dev
FSM1 May 31, 2021
eb98743
create buckets for new users
FSM1 Jun 7, 2021
f4b1bb3
Merge pull request #1098 from ChainSafe/hotfix/create-new-user-file-s…
FSM1 Jun 7, 2021
e95ca71
Release latest to PROD (#1135)
FSM1 Jun 15, 2021
e3675be
remove depraecated files call
FSM1 Jun 15, 2021
ae88827
Merge pull request #1138 from ChainSafe/hotfix/remove-deprecated-file…
FSM1 Jun 15, 2021
fa99c60
Merge pull request #1387 from ChainSafe/dev
FSM1 Aug 2, 2021
b082dfc
Merge pull request #1435 from ChainSafe/dev
FSM1 Aug 12, 2021
0c83ffa
Roughly done
RyRy79261 Aug 24, 2021
a505ffe
Debugging
RyRy79261 Aug 25, 2021
1cff622
[Storage] Copy cid functionality (#1437)
RyRy79261 Aug 25, 2021
3e0ee70
[STORAGE] Rename file in bucket (#1471)
FSM1 Aug 25, 2021
58839c7
10min timeout for everyone (#1472)
Tbaut Aug 25, 2021
55251ae
Translated using Weblate (French) (#1478)
weblate Aug 30, 2021
2a8d031
lingui extract
actions-user Aug 31, 2021
03fc54a
add ui tests for search (#1479)
asnaith Aug 31, 2021
997e7d4
bump cypress to v8.3.1 (#1480)
asnaith Aug 31, 2021
161d0cd
Sharing feature explainer (#1477)
Tbaut Sep 2, 2021
8625789
Adding multi selects on mobile view with long press (#1470)
tanmoyAtb Sep 3, 2021
afbd421
bump to 1.18.5 (#1493)
Tbaut Sep 3, 2021
038228c
[Files] - New survey - Discord link and tiny fix (#1487)
Tbaut Sep 3, 2021
57f0feb
Translations update from Weblate (#1496)
weblate Sep 6, 2021
a56307b
update axios (#1498)
FSM1 Sep 6, 2021
fa325f5
Added docs link (#1497)
RyRy79261 Sep 7, 2021
f57a182
Compiling
RyRy79261 Sep 8, 2021
2faecb6
upgrade (#1501)
Tbaut Sep 8, 2021
0852760
Published (#1503)
RyRy79261 Sep 13, 2021
4e2d70a
Add ui tests for file preview (#1489)
asnaith Sep 13, 2021
b70fdfa
Toasts refactor (#1495)
tanmoyAtb Sep 13, 2021
0fecdd8
Progress cancellations (#1500)
tanmoyAtb Sep 13, 2021
7d2c756
survey banner on safari fix (#1512)
tanmoyAtb Sep 13, 2021
0c731ad
fix what I broke (#1518)
Tbaut Sep 14, 2021
4732c0a
Change the survey to a call for a user interview (#1517)
Tbaut Sep 14, 2021
5ecfcce
bump cypress to v8.4 (#1521)
asnaith Sep 14, 2021
f376f59
Translations update from Weblate (#1522)
weblate Sep 14, 2021
3498d32
Adjusting login screen sizes. (#1519)
tanmoyAtb Sep 14, 2021
280b03e
Gaming Dashboard overhaul (#1504)
RyRy79261 Sep 14, 2021
4c5163e
bulk recover operation (#1526)
tanmoyAtb Sep 16, 2021
8634d7f
Add new ui tests for illogical folder and file move errors (#1520)
asnaith Sep 16, 2021
89b9632
Posthog Analytics Integration (#1514)
priom Sep 16, 2021
4c3c7d3
Translated using Weblate (French) (#1528)
weblate Sep 16, 2021
669e3a2
[Files] - Share to home or other shared folder (#1527)
Tbaut Sep 16, 2021
0e454aa
Folder uploads (#1515)
FSM1 Sep 16, 2021
22ed6e9
Translated using Weblate (French) (#1532)
weblate Sep 16, 2021
bdcd6a9
Don't track before opt-in (#1531)
Tbaut Sep 17, 2021
01999cd
Merge branch 'prod' into dev
FSM1 Sep 17, 2021
e071c9a
[Files] - Show current bucket decryption key (#1534)
Tbaut Sep 17, 2021
59bbe6c
[Files] - Get admin public key from the api (#1485)
Tbaut Sep 17, 2021
0356544
Add lint rules for test debug commands (#1535)
asnaith Sep 20, 2021
9a2c948
prevent double opening (#1538)
Tbaut Sep 20, 2021
84b195f
Add test coverage for storage summary adjustments (#1536)
asnaith Sep 20, 2021
4b936f4
Translated using Weblate (French) (#1540)
weblate Sep 21, 2021
36eefa5
Better colors for dark mode select and tagsinput components (#1550)
Tbaut Sep 21, 2021
736b881
Filter out current bucket (#1548)
Tbaut Sep 21, 2021
4919583
fix color (#1555)
Tbaut Sep 22, 2021
c92477b
Fix user lookup spamming the api, and throwing (#1553)
Tbaut Sep 22, 2021
af43f49
Upgrade Torus dependencies (#1549)
FSM1 Sep 22, 2021
22c59bc
reset fields for shared folders (#1577)
Tbaut Sep 24, 2021
5b34d21
reset forms and fix a couple error types (#1578)
Tbaut Sep 24, 2021
eed9c86
Translations update from Weblate (#1557)
weblate Sep 24, 2021
705cc71
hide when ther's no menu item (#1576)
Tbaut Sep 25, 2021
69093a6
Add "maintenance" label to weblate PRs automatically (#1581)
Tbaut Sep 25, 2021
b47bd17
Upgrade api client and fix issue with shared folder renaming (#1582)
Tbaut Sep 27, 2021
e049d76
run lint --fix (#1585)
Tbaut Sep 27, 2021
5d3ac19
Gaming dashboard - API keys as cards (#1575)
RyRy79261 Sep 28, 2021
eb463dd
New navigations buttons (#1574)
Tbaut Sep 28, 2021
a3935e9
fix tertiary buttons (#1592)
Tbaut Sep 28, 2021
d7e9980
Posthog identify user on login (#1590)
FSM1 Sep 28, 2021
ef9421c
show username if known (#1597)
Tbaut Sep 30, 2021
9c568a2
remove fade effect (#1598)
Tbaut Sep 30, 2021
1393059
Translations update from Weblate (#1599)
weblate Sep 30, 2021
6986a7c
Mv and rm batch calls (#1596)
FSM1 Sep 30, 2021
8ed0aa7
refresh buckets after deletion (#1604)
Tbaut Oct 4, 2021
3d99fe9
Toast messages update (#1602)
tanmoyAtb Oct 4, 2021
267f6c9
Translations update from Weblate (#1600)
weblate Oct 4, 2021
8c95e42
Translated using Weblate (Norwegian Bokmål) (#1607)
weblate Oct 4, 2021
bbed742
Fix move single file and test (#1608)
Tbaut Oct 4, 2021
beeb395
bump cypress to v8.5 (#1609)
asnaith Oct 5, 2021
4666692
Merge branch 'dev' into feat/plan-widget-1454
RyRy79261 Oct 5, 2021
9a961c7
Migrate to API local store cache (#1591)
RyRy79261 Oct 5, 2021
9f9880e
webkit color added (#1612)
tanmoyAtb Oct 6, 2021
600fdce
added resolve browser (#1613)
tanmoyAtb Oct 6, 2021
520bf76
Detect and dismiss toasts in ui tests (#1610)
asnaith Oct 6, 2021
55a2cd4
Adding new client
RyRy79261 Oct 7, 2021
588c204
Merge branch 'dev' into feat/plan-widget-1454
RyRy79261 Oct 7, 2021
920bc0e
update tests for unsupported preview
FSM1 Oct 7, 2021
573bf8e
Wired up to subscription
RyRy79261 Oct 7, 2021
99b330b
Transfer multiple files and folders (#1606)
tanmoyAtb Oct 8, 2021
ab0e4fc
Merge branch 'epic/files-billing' into feat/plan-widget-1454
RyRy79261 Oct 12, 2021
4edeae2
Translations update from Weblate (#1625)
weblate Oct 12, 2021
32f3d8d
generate po files
FSM1 Oct 13, 2021
cd0fe9d
Merge branch 'dev' into feat/plan-widget-1454
RyRy79261 Oct 13, 2021
0aa8b01
Cleaned messages
RyRy79261 Oct 13, 2021
986c0db
Cleaned up styling
RyRy79261 Oct 13, 2021
9d200dd
Fixed spacing mobile
RyRy79261 Oct 13, 2021
4a2c6e4
Added back rouding
RyRy79261 Oct 13, 2021
dc869bb
Merge branch 'epic/files-billing' into feat/plan-widget-1454
RyRy79261 Oct 13, 2021
2b2f576
fix bad merge
FSM1 Oct 13, 2021
a3609f1
Fixed lint
RyRy79261 Oct 13, 2021
837f7a3
Apply suggestions from code review
RyRy79261 Oct 15, 2021
56e398b
Fixed lint
RyRy79261 Oct 15, 2021
a3e200f
Update packages/files-ui/src/Components/Modules/Settings/index.tsx
RyRy79261 Oct 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"rules": {
"comma-spacing": ["error", { "before": false, "after": true }],
"cypress/no-pause": "error",
"indent": ["error", 2],
"@typescript-eslint/indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "never"],
Expand Down
2 changes: 1 addition & 1 deletion packages/common-components/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
plugins: [
peerDepsExternal(),
image(),
resolve(),
resolve({ browser: true }),
commonjs(),
typescript(),
postcss({
Expand Down
26 changes: 24 additions & 2 deletions packages/common-components/src/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Typography } from "../Typography"
const useStyles = makeStyles(
({ constants, typography, animation, palette, overrides }: ITheme) =>
createStyles({
// JSS in CSS goes here
root: {
...typography.button,
borderRadius: `${constants.generalUnit / 4}px`,
Expand Down Expand Up @@ -110,6 +109,29 @@ const useStyles = makeStyles(
},
...overrides?.Button?.variants?.secondary?.root
},
tertiary: {
backgroundColor: palette.additional["gray"][3],
color: palette.common.black.main,
"& svg": {
fill: palette.common.white.main
},
"&:hover": {
backgroundColor: palette.primary.main,
color: palette.common.white.main,
...overrides?.Button?.variants?.tertiary?.hover
},
"&:focus": {
backgroundColor: palette.primary.main,
color: palette.common.white.main,
...overrides?.Button?.variants?.tertiary?.focus
},
"&:active": {
backgroundColor: palette.primary.main,
color: palette.common.white.main,
...overrides?.Button?.variants?.tertiary?.active
},
...overrides?.Button?.variants?.tertiary?.root
},
outline: {
color: palette.additional["gray"][8],
backgroundColor: palette.common?.white.main,
Expand Down Expand Up @@ -271,7 +293,7 @@ interface IButtonProps extends Omit<ReactButton, "size"> {
className?: string
children?: ReactNode | ReactNode[]
fullsize?: boolean
variant?: "link" | "primary" | "secondary" | "outline" | "dashed" | "danger"
variant?: "link" | "primary" | "secondary" |"tertiary" | "outline" | "dashed" | "danger"
iconButton?: boolean
size?: "large" | "medium" | "small"
type?: "button" | "submit" | "reset"
Expand Down
2 changes: 1 addition & 1 deletion packages/common-components/src/Icons/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type fontSizeProp = "inherit" | "small" | "medium" | "large"
declare module "*.svg" {
import React = require("react")
export const ReactComponent: React.FunctionComponent<React.SVGProps<
SVGSVGElement
SVGSVGElement
>>
const src: string
export default src
Expand Down
12 changes: 6 additions & 6 deletions packages/common-components/src/MenuDropdown/MenuDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ interface IMenuDropdownProps {
indicator?: typeof SvgIcon
animation?: "rotate" | "flip" | "none"
anchor?:
| "top-left"
| "top-center"
| "top-right"
| "bottom-left"
| "bottom-center"
| "bottom-right"
| "top-left"
| "top-center"
| "top-right"
| "bottom-left"
| "bottom-center"
| "bottom-right"
menuItems: IMenuItem[]
title?: string
classNames?: {
Expand Down
1 change: 1 addition & 0 deletions packages/common-components/src/TextInput/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ const useStyles = makeStyles(
"&.disabled": {
"& input": {
color: palette.additional["gray"][6],
"-webkit-text-fill-color": palette.additional["gray"][6],
backgroundColor: palette.additional["gray"][3],
...overrides?.TextInput?.input?.disabled
},
Expand Down
10 changes: 2 additions & 8 deletions packages/common-components/src/Toasts/ToastContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CheckCircleIcon, CloseCircleIcon, CloseCirceSvg, CrossSvg } from "../Ic
import { ProgressBar } from "../ProgressBar"
import { Loading } from "../Spinner"

const useStyles = makeStyles(({ constants, palette, animation, overrides }: ITheme) => {
const useStyles = makeStyles(({ constants, palette, overrides }: ITheme) => {
return createStyles({
root: {
backgroundColor: palette.additional["gray"][3],
Expand All @@ -16,10 +16,6 @@ const useStyles = makeStyles(({ constants, palette, animation, overrides }: IThe
padding: constants.generalUnit * 2,
borderRadius: 4,
position: "relative",
"&:hover $closeIcon": {
visibility: "visible",
opacity: 1
},
...overrides?.Toasts?.root
},
progressBox: {
Expand Down Expand Up @@ -66,9 +62,6 @@ const useStyles = makeStyles(({ constants, palette, animation, overrides }: IThe
backgroundColor: palette.additional["gray"][1],
border: "1px solid",
borderColor: palette.additional["gray"][9],
opacity: 0,
visibility: "hidden",
transition: `opacity ${animation.transform}ms`,
display: "flex",
alignItems: "center",
justifyContent: "center",
Expand Down Expand Up @@ -147,6 +140,7 @@ const ToastContent = ({ toast, onClose }: ToastContentProps) => {
}
{isClosable &&
<div
data-testid={`button-close-toast-${toast.testId}`}
className={classes.closeIcon}
onClick={onClose}
>
Expand Down
24 changes: 12 additions & 12 deletions packages/common-components/src/Typography/Typography.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ interface OwnProps extends React.HTMLProps<HTMLDivElement> {
className?: string
children?: ReactNode | ReactNode[]
variant?:
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "subtitle1"
| "subtitle2"
| "body1"
| "body2"
| "caption"
| "button"
| "h1"
| "h2"
| "h3"
| "h4"
| "h5"
| "h6"
| "subtitle1"
| "subtitle2"
| "body1"
| "body2"
| "caption"
| "button"
component?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "span" | "p"
}

Expand Down
1 change: 1 addition & 0 deletions packages/common-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export * from "./Icons"
export * from "./Modal"
export * from "./NumberInput"
export * from "./MenuDropdown"
export * from "./Paper"
export * from "./ProgressBar"
export * from "./RadioInput"
export * from "./Router"
Expand Down
2 changes: 1 addition & 1 deletion packages/common-components/src/stories/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const actionsData = {
onClick: action("onClickButton")
}

type VariantOption = "primary" | "outline" | "dashed" | "danger" | undefined;
type VariantOption = "primary" | "secondary" | "tertiary" | "outline" | "dashed" | "danger" | undefined;
const variantOptions: VariantOption[] = [
"primary",
"outline",
Expand Down
22 changes: 11 additions & 11 deletions packages/common-components/src/stories/Typography.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ export const actionsData = {
}

type VariantOption = "h1"
|"h2"
|"h3"
|"h4"
|"h5"
|"h6"
|"subtitle1"
|"subtitle2"
|"body1"
|"body2"
|"caption"
|"button"
|"h2"
|"h3"
|"h4"
|"h5"
|"h6"
|"subtitle1"
|"subtitle2"
|"body1"
|"body2"
|"caption"
|"button"

const variantOptions: VariantOption[] = [
"h1",
Expand Down
26 changes: 13 additions & 13 deletions packages/common-theme/src/Create/CreateBreakpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
export type Overwrite<T, U> = Omit<T, keyof U> & U

type GenerateStringUnion<T> = Extract<
{
[Key in keyof T]: true extends T[Key] ? Key : never
}[keyof T],
string
{
[Key in keyof T]: true extends T[Key] ? Key : never
}[keyof T],
string
>

/**
Expand All @@ -22,18 +22,18 @@ type GenerateStringUnion<T> = Extract<
* @internal
*/
export type OverridableStringUnion<T, U = Record<any, any>> = GenerateStringUnion<
Overwrite<T, U>
Overwrite<T, U>
>

export type BreakpointDefaults = Record<
"xs" | "sm" | "md" | "lg" | "xl" | string,
true
"xs" | "sm" | "md" | "lg" | "xl" | string,
true
>
export interface BreakpointOverrides {[key: string]: unknown}

export type Breakpoint = OverridableStringUnion<
BreakpointDefaults,
BreakpointOverrides
BreakpointDefaults,
BreakpointOverrides
>
export type BreakpointValues = { [key in Breakpoint]: number }
export const keys: Breakpoint[] = []
Expand All @@ -49,10 +49,10 @@ export interface IBreakpoints {
}

export type BreakpointsOptions = Partial<
{
unit: string
step: number
} & IBreakpoints
{
unit: string
step: number
} & IBreakpoints
>

// Keep in mind that @media is inclusive by the CSS specification.
Expand Down
2 changes: 1 addition & 1 deletion packages/common-theme/src/Defaults/ThemeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const DefaultThemeConfig: IThemeConfig = {
},
button: {
...defaultFontStyles,
fontWeight: defaultFontWeights.regular,
fontWeight: defaultFontWeights.semibold,
fontSize: 14,
lineHeight: "22px"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/common-theme/src/Hooks/useDoubleClick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export function useDoubleClick(
const onClick = useCallback((e?: React.MouseEvent) => {
if (e) {
switch (e.detail) {
case 1:
actionSingleClick && actionSingleClick(e)
break
case 2:
actionDoubleClick && actionDoubleClick(e)
break
case 1:
actionSingleClick && actionSingleClick(e)
break
case 2:
actionDoubleClick && actionDoubleClick(e)
break
}
}
}, [actionSingleClick, actionDoubleClick])
Expand Down
6 changes: 6 additions & 0 deletions packages/common-theme/src/Overrides/Button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ export interface IButtonOverride {
focus?: Record<string, any>
active?: Record<string, any>
}
tertiary?: {
root?: Record<string, any>
hover?: Record<string, any>
focus?: Record<string, any>
active?: Record<string, any>
}
outline?: {
root?: Record<string, any>
hover?: Record<string, any>
Expand Down
1 change: 0 additions & 1 deletion packages/files-ui/cypress/support/page-objects/binPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const binPage = {
// bin page specific file browser elements
recoverSelectedButton: () => cy.get("[data-testId=button-recover-selected-file]"),
deleteSelectedButton: () => cy.get("[data-testId=button-delete-selected-file]"),
permanentDeleteSuccessToast: () => cy.get("[data-testId=toast-deletion-success]", { timeout: 10000 }),
selectAllCheckbox: () => cy.get("[data-testId=checkbox-select-all]"),

// kebab menu elements
Expand Down
6 changes: 3 additions & 3 deletions packages/files-ui/cypress/support/page-objects/homePage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { basePage } from "./basePage"
import { fileBrowser } from "./fileBrowser"
import { fileUploadModal } from "./modals/fileUploadModal"
import { uploadCompleteToast } from "./toasts/uploadCompleteToast"

export const homePage = {
...basePage,
Expand All @@ -12,8 +13,6 @@ export const homePage = {
moveSelectedButton: () => cy.get("[data-testId=button-move-selected-file]"),
deleteSelectedButton: () => cy.get("[data-testId=button-delete-selected-file]"),
selectAllCheckbox: () => cy.get("[data-testId=checkbox-select-all]"),
uploadStatusToast: () => cy.get("[data-testId=toast-upload-status]", { timeout: 10000 }),
deleteSuccessToast: () => cy.get("[data-testId=toast-deletion-success]", { timeout: 10000 }),
fileRenameInput: () => cy.get("[data-cy=rename-form] input"),
fileRenameSubmitButton: () => cy.get("[data-cy=rename-submit-button]"),
fileRenameErrorLabel: () => cy.get("[data-cy=rename-form] span.minimal.error"),
Expand All @@ -36,7 +35,8 @@ export const homePage = {

// ensure upload is complete before proceeding
fileUploadModal.body().should("not.exist")
this.uploadStatusToast().should("not.exist")
uploadCompleteToast.body().should("be.visible")
uploadCompleteToast.closeButton().click()
}

}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const deleteSuccessToast = {
body: () => cy.get("[data-testId=toast-deletion-success]", { timeout: 10000 }),
closeButton: () => cy.get("[data-testid=button-close-toast-deletion-success]")
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const moveSuccessToast = {
body: () => cy.get("[data-testId=toast-move-success]", { timeout: 10000 }),
closeButton: () => cy.get("[data-testid=button-close-toast-move-success]")
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export const uploadCompleteToast = {
body: () => cy.get("[data-testId=toast-upload-complete]", { timeout: 10000 }),
closeButton: () => cy.get("[data-testid=button-close-toast-upload-complete]")
}
Loading