chore: 🤖 disable primary auth method feature for now

This commit is contained in:
Randall Morey committed 2021-03-26 17:51:33 -04:00
1 parent 8aa9a51c88
commit 2adfdf6ef6
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ module.exports = function (environment) {
},
featureFlags: {
'primary-auth-method': true,
'primary-auth-method': false,
},
};
@@ -10,6 +10,7 @@ import {
// //currentSession,
// //invalidateSession,
} from 'ember-simple-auth/test-support';
import { enableFeature } from 'ember-feature-flags/test-support';
module('Acceptance | auth methods', function (hooks) {
setupApplicationTest(hooks);
@@ -277,6 +278,7 @@ module('Acceptance | auth methods', function (hooks) {
instances.scopes.org.primaryAuthMethodId,
'Primary auth method is not yet set.'
);
enableFeature('primary-auth-method');
await visit(urls.authMethod);
await click(
'.rose-layout-page-actions .rose-dropdown-content [type="button"]:first-child'
@@ -306,6 +308,7 @@ module('Acceptance | auth methods', function (hooks) {
instances.scopes.org.primaryAuthMethodId,
'Primary auth method is not yet set.'
);
enableFeature('primary-auth-method');
await visit(urls.authMethod);
await click(
'.rose-layout-page-actions .rose-dropdown-content [type="button"]:first-child'
@@ -322,6 +325,7 @@ module('Acceptance | auth methods', function (hooks) {
instances.scopes.org.primaryAuthMethodId,
'Primary auth method is set.'
);
enableFeature('primary-auth-method');
await visit(urls.authMethod);
await click(
'.rose-layout-page-actions .rose-dropdown-content [type="button"]:first-child'
@@ -350,6 +354,7 @@ module('Acceptance | auth methods', function (hooks) {
instances.scopes.org.primaryAuthMethodId,
'Primary auth method is set.'
);
enableFeature('primary-auth-method');
await visit(urls.authMethod);
await click(
'.rose-layout-page-actions .rose-dropdown-content [type="button"]:first-child'