Skip to content

Commit

Permalink
Allow AT and Browser versions to be edited when bot assignment is ass…
Browse files Browse the repository at this point in the history
…igned to manual tester to be evaluated
  • Loading branch information
howard-e committed Nov 20, 2024
1 parent 53f6ced commit cf09eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/TestRun/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const TestRun = () => {
setCurrentBrowserVersion(currentBrowserVersion);
// Testers do not need to change AT/Browser versions
// while assigning verdicts for previously automated tests
if (testPlanRun?.initiatedByAutomation) {
if (!isSignedIn || tester?.isBot) {
setIsShowingAtBrowserModal(false);
}
setPageReady(true);
Expand Down Expand Up @@ -1149,7 +1149,7 @@ const TestRun = () => {
browser={`${testPlanReport.browser?.name}${
isViewingRun ? ` ${currentBrowserVersion?.name || ''}` : ''
}`}
showEditAtBrowser={isViewingRun && !testPlanRun.initiatedByAutomation}
showEditAtBrowser={isSignedIn && isViewingRun && !openAsUser?.isBot}
openAsUser={openAsUser}
testResults={testResults}
testCount={testCount}
Expand Down

0 comments on commit cf09eee

Please sign in to comment.