You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2018/04/25 09:14:18 UTC
[2/2] ignite git commit: IGNITE-8370 Rename file.
IGNITE-8370 Rename file.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/41699c31
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/41699c31
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/41699c31
Branch: refs/heads/master
Commit: 41699c31cfe51f6a4d158b2510b7eb7ec7d9685b
Parents: 2f8df26
Author: Alexey Kuznetsov <ak...@apache.org>
Authored: Wed Apr 25 16:14:17 2018 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Wed Apr 25 16:14:17 2018 +0700
----------------------------------------------------------------------
.../testcafe/fixtures/auth/forgot-password.js | 2 +-
.../e2e/testcafe/fixtures/auth/logout.js | 2 +-
.../e2e/testcafe/page-models/pageSignin.js | 32 ++++++++++++++++++++
.../e2e/testcafe/page-models/pageSignin1.js | 32 --------------------
modules/web-console/e2e/testcafe/roles.js | 2 +-
5 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/41699c31/modules/web-console/e2e/testcafe/fixtures/auth/forgot-password.js
----------------------------------------------------------------------
diff --git a/modules/web-console/e2e/testcafe/fixtures/auth/forgot-password.js b/modules/web-console/e2e/testcafe/fixtures/auth/forgot-password.js
index 27ac2db..1163595 100644
--- a/modules/web-console/e2e/testcafe/fixtures/auth/forgot-password.js
+++ b/modules/web-console/e2e/testcafe/fixtures/auth/forgot-password.js
@@ -16,7 +16,7 @@
*/
import { dropTestDB, resolveUrl, insertTestUser } from '../../envtools';
-import {PageSignIn} from '../../page-models/pageSignin1';
+import {PageSignIn} from '../../page-models/pageSignin';
import {errorNotification} from '../../components/notifications';
import {pageForgotPassword as page} from '../../page-models/pageForgotPassword';
http://git-wip-us.apache.org/repos/asf/ignite/blob/41699c31/modules/web-console/e2e/testcafe/fixtures/auth/logout.js
----------------------------------------------------------------------
diff --git a/modules/web-console/e2e/testcafe/fixtures/auth/logout.js b/modules/web-console/e2e/testcafe/fixtures/auth/logout.js
index 5cad60f..d2e7e66 100644
--- a/modules/web-console/e2e/testcafe/fixtures/auth/logout.js
+++ b/modules/web-console/e2e/testcafe/fixtures/auth/logout.js
@@ -18,7 +18,7 @@
import {dropTestDB, resolveUrl, insertTestUser} from 'envtools';
import {createRegularUser} from '../../roles';
import {userMenu} from '../../components/userMenu';
-import {pageSignin} from '../../page-models/pageSignin1';
+import {pageSignin} from '../../page-models/pageSignin';
const user = createRegularUser();
http://git-wip-us.apache.org/repos/asf/ignite/blob/41699c31/modules/web-console/e2e/testcafe/page-models/pageSignin.js
----------------------------------------------------------------------
diff --git a/modules/web-console/e2e/testcafe/page-models/pageSignin.js b/modules/web-console/e2e/testcafe/page-models/pageSignin.js
new file mode 100644
index 0000000..57031b6
--- /dev/null
+++ b/modules/web-console/e2e/testcafe/page-models/pageSignin.js
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import {Selector, t} from 'testcafe';
+import {CustomFormField} from '../components/FormField';
+
+export const pageSignin = {
+ email: new CustomFormField({model: '$ctrl.data.email'}),
+ password: new CustomFormField({model: '$ctrl.data.password'}),
+ signinButton: Selector('button').withText('Sign In'),
+ selector: Selector('page-signin'),
+ async login(email, password) {
+ return await t
+ .typeText(this.email.control, email)
+ .typeText(this.password.control, password)
+ .click(this.signinButton);
+ }
+};
http://git-wip-us.apache.org/repos/asf/ignite/blob/41699c31/modules/web-console/e2e/testcafe/page-models/pageSignin1.js
----------------------------------------------------------------------
diff --git a/modules/web-console/e2e/testcafe/page-models/pageSignin1.js b/modules/web-console/e2e/testcafe/page-models/pageSignin1.js
deleted file mode 100644
index 57031b6..0000000
--- a/modules/web-console/e2e/testcafe/page-models/pageSignin1.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import {Selector, t} from 'testcafe';
-import {CustomFormField} from '../components/FormField';
-
-export const pageSignin = {
- email: new CustomFormField({model: '$ctrl.data.email'}),
- password: new CustomFormField({model: '$ctrl.data.password'}),
- signinButton: Selector('button').withText('Sign In'),
- selector: Selector('page-signin'),
- async login(email, password) {
- return await t
- .typeText(this.email.control, email)
- .typeText(this.password.control, password)
- .click(this.signinButton);
- }
-};
http://git-wip-us.apache.org/repos/asf/ignite/blob/41699c31/modules/web-console/e2e/testcafe/roles.js
----------------------------------------------------------------------
diff --git a/modules/web-console/e2e/testcafe/roles.js b/modules/web-console/e2e/testcafe/roles.js
index 5d9bfcc..3089e97 100644
--- a/modules/web-console/e2e/testcafe/roles.js
+++ b/modules/web-console/e2e/testcafe/roles.js
@@ -17,7 +17,7 @@
const { Role, t } = require('testcafe');
import { resolveUrl } from './envtools';
-import {pageSignin as page} from './page-models/pageSignin1';
+import {pageSignin as page} from './page-models/pageSignin';
export const createRegularUser = () => {
return new Role(resolveUrl('/signin'), async() => {