-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement show basic test info in new ui
- Loading branch information
Showing
73 changed files
with
992 additions
and
557 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
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 was deleted.
Oops, something went wrong.
133 changes: 0 additions & 133 deletions
133
lib/static/components/section/body/meta-info/content.jsx
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
import actionNames from '../action-names'; | ||
import {SuitesPageSetCurrentSuiteAction} from '@/static/modules/reducers/suites-page'; | ||
import actionNames from '@/static/modules/action-names'; | ||
import {Action} from '@/static/modules/actions/types'; | ||
|
||
export type SuitesPageSetCurrentSuiteAction = Action<typeof actionNames.SUITES_PAGE_SET_CURRENT_SUITE, { | ||
suiteId: string; | ||
}>; | ||
|
||
export const suitesPageSetCurrentSuite = (suiteId: string): SuitesPageSetCurrentSuiteAction => { | ||
return {type: actionNames.SUITES_PAGE_SET_CURRENT_SUITE, payload: {suiteId}}; | ||
}; | ||
|
||
type SetSectionExpandedStateAction = Action<typeof actionNames.SUITES_PAGE_SET_SECTION_EXPANDED, { | ||
sectionId: string; | ||
isExpanded: boolean; | ||
}>; | ||
|
||
export const setSectionExpandedState = (payload: SetSectionExpandedStateAction['payload']): SetSectionExpandedStateAction => | ||
({type: actionNames.SUITES_PAGE_SET_SECTION_EXPANDED, payload}); | ||
|
||
export type SuitesPageAction = | ||
| SuitesPageSetCurrentSuiteAction | ||
| SetSectionExpandedStateAction; |
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,10 @@ | ||
import actionNames from '@/static/modules/action-names'; | ||
import {Action} from '@/static/modules/actions/types'; | ||
|
||
interface ChangeTestRetryPayload { | ||
browserId: string; | ||
retryIndex: number; | ||
} | ||
|
||
export const changeTestRetry = (result: ChangeTestRetryPayload): Action<typeof actionNames.CHANGE_TEST_RETRY, ChangeTestRetryPayload> => | ||
({type: actionNames.CHANGE_TEST_RETRY, payload: result}); |
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.