Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ after_pipeline:
jobs:
- name: Publish Results
commands:
- test-results gen-pipeline-report
- test-results gen-pipeline-report
6 changes: 2 additions & 4 deletions appium/tests/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ export const CommonData = {
},
updateRecipientPublicKey: {
email: 'updating.key@example.test',
oldSignatureDate: 'Jan 12, 2022 at 11:16:58 AM',//time for CI runs
newSignatureDate: 'Jan 12, 2022 at 11:27:20 AM',//time for CI runs
// oldSignatureDate: 'Jan 12, 2022 at 9:16:58 PM', //- for local run
// newSignatureDate: 'Jan 12, 2022 at 9:27:20 PM', // for local run
oldSignatureDate: '12 Jan 2022, 07:16:58 PM',//in UTC
newSignatureDate: '12 Jan 2022, 07:27:20 PM',//in UTC
oldFingerprints: '7E181662A26EC6748D6FDB1CC7C990C1A2EA78DD, 5C23518345A6595E81EBFEFCA71D94A76202B1D0',
newFingerprints: '7E181662A26EC6748D6FDB1CC7C990C1A2EA78DD, 5C23518345A6595E81EBFEFCA71D94A76202B1D0, 40E4EE0325E38F717737889AC54F277266650211'
},
Expand Down
7 changes: 4 additions & 3 deletions appium/tests/screenobjects/public-key-details.screen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import BaseScreen from './base.screen';
import ElementHelper from "../helpers/ElementHelper";
import moment from 'moment'

const SELECTORS = {
BACK_BTN: '~aid-back-button',
Expand Down Expand Up @@ -86,9 +87,9 @@ class PublicKeyDetailsScreen extends BaseScreen {
}

checkSignatureDateValue = async (value: string) => {
const signatureValue = await this.signatureValue;
await signatureValue.waitForExist();
expect(await signatureValue.getValue()).toEqual(value);
const signatureValue = await this.signatureValue.getValue();
const convertedToUTC = moment(signatureValue.replace('at', '')).utcOffset(0).format('D MMM yyyy, hh:mm:ss A');
expect(convertedToUTC).toEqual(value);
}

getLastFetchedDateValue = async () => {
Expand Down