Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
updated wdio test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn committed Apr 25, 2024
1 parent a3f1666 commit faf137f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ const userConfig = {
initials: 'TN',
};

const userActionConfig = {
text: 'Edit Photo',
// eslint-disable-next-line no-console
userActionCallback: () => console.log('Button Clicked'),
};

const extensionItems = [
{
icon: <IconSearch />,
Expand Down Expand Up @@ -141,6 +135,12 @@ function ApplicationNavigationTest() {
const [isDrawerOpen, setDrawerOpen] = useState(false);
const [functionType, setFunctionType] = useState('');

const userActionConfig = {
text: 'Edit Photo',
// eslint-disable-next-line no-alert
userActionCallback: () => setFunctionType('userActionButton was clicked'),
};

/* eslint-disable no-alert */
const handleItemSelection = (key, metaData) => {
alert(`itemKey: ${key}, metaData: ${metaData.test}`);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit faf137f

Please sign in to comment.