mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
Split anonymous access e2e tests into separate files
This commit is contained in:
@@ -45,9 +45,6 @@ class PermissionCheckbox extends React.Component<Props> {
|
||||
? t("verbs.repository." + name + ".description")
|
||||
: this.translateOrDefault("permissions." + key + ".description", t("permissions.unknown"));
|
||||
|
||||
// @ts-ignore we have to use the label here because cypress gets confused with asterix and dots
|
||||
const testId = label.replaceAll(" ", "-").toLowerCase();
|
||||
|
||||
return (
|
||||
<Checkbox
|
||||
key={name}
|
||||
@@ -57,7 +54,7 @@ class PermissionCheckbox extends React.Component<Props> {
|
||||
checked={checked}
|
||||
onChange={onChange}
|
||||
disabled={disabled}
|
||||
testId={testId}
|
||||
testId={label}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user