Skip to content
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

[Admin] Index of payments #10472

Merged
merged 5 commits into from
Jun 28, 2019
Merged

Conversation

Tomanhez
Copy link
Contributor

@Tomanhez Tomanhez commented Jun 26, 2019

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
License MIT

View IndexPage
Screenshot 2019-06-26 at 07 30 34

All filters:
Screenshot 2019-06-27 at 10 56 23

Success after push Completed button
Screenshot 2019-06-26 at 07 31 17

After filtered and don't find existent state
Screenshot 2019-06-27 at 10 59 12

@Tomanhez Tomanhez requested a review from a team as a code owner June 26, 2019 08:32
@Zales0123 Zales0123 added the Feature New feature proposals. label Jun 26, 2019
@@ -104,6 +104,12 @@
<argument type="service" id="sylius.behat.shared_security" />
</service>

<service id="sylius.behat.context.ui.admin.managing_payments" class="Sylius\Behat\Context\Ui\Admin\ManagingPaymentsContext">
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<service id="sylius.behat.context.ui.admin.managing_payments" class="Sylius\Behat\Context\Ui\Admin\ManagingPaymentsContext">
<service id="Sylius\Behat\Context\Ui\Admin\ManagingPaymentsContex" >

?

Copy link
Contributor Author

@Tomanhez Tomanhez Jun 26, 2019

Choose a reason for hiding this comment

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

convention in file src/Sylius/Behat/Resources/config/services/contexts/ui.xml is made lowercase and using id and class separately

@CoderMaggie CoderMaggie changed the title Browse payment on list [Admin] Index of payments Jun 26, 2019
@CoderMaggie CoderMaggie added the Admin AdminBundle related issues and PRs. label Jun 26, 2019
@Tomanhez Tomanhez force-pushed the browse-payment-on-list branch 2 times, most recently from d85aec0 to 5464b99 Compare June 26, 2019 20:58
src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Page/Admin/Payment/IndexPage.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Page/Admin/Payment/IndexPage.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
And the store has "UPS" shipping method with "$10.00" fee
And the store has a product "Apple"
And the store has a product "Banana"
And the store allows paying with "Cash on Delivery"
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if some default payment and shipment methods shouldn't be a part of Given the store operates on a single channel in "United States", but it is a topic for separate conversation and/or pr

src/Sylius/Behat/Context/Setup/OrderContext.php Outdated Show resolved Hide resolved
@Tomanhez Tomanhez force-pushed the browse-payment-on-list branch 2 times, most recently from b195215 to 05aa18a Compare June 27, 2019 08:57
And I am logged in as an administrator

@ui
Scenario: Filtering payments by a chosen state "New"
Copy link
Member

Choose a reason for hiding this comment

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

These scenarios should have titles like:

Suggested change
Scenario: Filtering payments by a chosen state "New"
Scenario: Filtering payments in state "New"

@GSadee GSadee merged commit 6861875 into Sylius:master Jun 28, 2019
@GSadee
Copy link
Member

GSadee commented Jun 28, 2019

Thank you, Tomasz! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin AdminBundle related issues and PRs. Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants