Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MQE-1633 + MQE-1514 #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 4, 2019
Merged

MQE-1633 + MQE-1514 #436

merged 8 commits into from
Sep 4, 2019

Conversation

KevinBKozan
Copy link
Contributor

Description

  • Added AllureHelper class + unit tests
  • Added calls to above class in MagentoWebDriver see/dontsee url actions + CurlHandler for persistence actions

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/verification tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)
  • Changes to Framework doesn't have backward incompatible changes for tests or have related Pull Request with fixes to tests

… & Expected Results in Allure

- Added Allure firing of attachment to steps
… & Expected Results in Allure

- bugfix for variable name
- Added AllureHelper + Unit tests
- Added attachment event to curlHandler classes
- Added contents of 1633, changed the calls to use Helper class instead
Copy link
Contributor

@tomreece tomreece left a comment

Choose a reason for hiding this comment

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

Looks like some unit test failures too.

* @param string $caption
* @return void
*/
public static function addAttachmentToLastStep($data, $caption)
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious about in general when to use this over the current step? I see you use this one in the curl handler, but I cant figure out why. Maybe add a bit to the phpdoc like:

This function should be used when ___blahblahblah___

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll add a comment to clear it up, the gist of it is that during a step (aka a function called in the test via $I->doathing()) you use current. If the framework is doign its own logic outisde a function like that, you can add artifact to the last step (which is usually a comment step)

@tomreece
Copy link
Contributor

tomreece commented Aug 30, 2019

I do not see the request/response data in the build: http://10.234.204.237:8080/job/Functional-Tests-CE/2021/allure/#suites/8187718e2fd144987673ef34ee62b41b/136f33b4de6d9efe/

Am I blind?

image

@KevinBKozan
Copy link
Contributor Author

@tomreece I forgot to commit a file for unit tests, that will fix the errors.

And let me retrigger/reset up branches for the build, I may have messed something up there.

@coveralls
Copy link

coveralls commented Aug 30, 2019

Coverage Status

Coverage decreased (-0.06%) to 52.048% when pulling a448a0f on MQE-1633+1514 into 04fa585 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.4%) to 53.667% when pulling 0dd8840 on MQE-1633+1514 into 0fe97bb on develop.

@tomreece
Copy link
Contributor

tomreece commented Sep 3, 2019

Looks good to me.

@KevinBKozan KevinBKozan merged commit ad0e4aa into develop Sep 4, 2019
@KevinBKozan KevinBKozan deleted the MQE-1633+1514 branch September 4, 2019 14:22
magento-devops-reposync-svc pushed a commit that referenced this pull request Jan 7, 2025
…quence-remove-sq-file

Removing module-sequence dependency from MFTF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants