Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

🌱 Use deterministic Faker seed#164

Merged
mermop merged 14 commits intostagingfrom
deterministic-faker-seed
Aug 30, 2019
Merged

🌱 Use deterministic Faker seed#164
mermop merged 14 commits intostagingfrom
deterministic-faker-seed

Conversation

@mermop
Copy link
Copy Markdown
Member

@mermop mermop commented Aug 28, 2019

Set the Faker seed so that we create names in the same order and stop confusing Percy - see Faker docs

@mermop mermop requested a review from Br3nda August 28, 2019 22:56
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 28, 2019 22:56 Inactive
Comment thread spec/factories/birth_record.rb Outdated
@mermop mermop temporarily deployed to feijoa-pr-164 August 28, 2019 23:05 Inactive
@mermop
Copy link
Copy Markdown
Member Author

mermop commented Aug 28, 2019

observe that these are the same - percy build 1, percy build 2

@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 28, 2019 23:20 Inactive
@mermop mermop force-pushed the deterministic-faker-seed branch from fae634f to 8fc5073 Compare August 28, 2019 23:41
@mermop mermop temporarily deployed to feijoa-pr-164 August 28, 2019 23:41 Inactive
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 28, 2019 23:59 Inactive
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 29, 2019 00:00 Inactive
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 29, 2019 00:14 Inactive
Copy link
Copy Markdown
Collaborator

@Br3nda Br3nda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use Faker::Name.middle_name

Copy link
Copy Markdown
Collaborator

@Br3nda Br3nda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to make the names less Anglo?

@mermop mermop temporarily deployed to feijoa-pr-164 August 29, 2019 00:19 Inactive
@mermop
Copy link
Copy Markdown
Member Author

mermop commented Aug 29, 2019

@Br3nda I have a faker PR to make NZ locale names reflect actual usage in NZ - changing it to the NZ locale should introduce a few Māori names but not that many right now -
this will introduce more faker-ruby/faker#1568 - but I need to go back and write some tests for it..

@mermop mermop temporarily deployed to feijoa-pr-164 August 29, 2019 00:34 Inactive
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 29, 2019 00:54 Inactive
@Br3nda Br3nda temporarily deployed to feijoa-pr-164 August 29, 2019 01:08 Inactive
Comment thread spec/factories/birth_record.rb Outdated
@mermop mermop temporarily deployed to feijoa-pr-164 August 29, 2019 04:09 Inactive
@mermop mermop merged commit f07ee27 into staging Aug 30, 2019
@mermop mermop deleted the deterministic-faker-seed branch August 30, 2019 01:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'Share birth record' Percy screenshot has random data

2 participants