Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(tests): Remove ui tests from ci pipeline (#1082)
Jagan2ab7f83103d0
diff --git a/.github/workflows/connector-sanity-tests.yml b/.github/workflows/connector-sanity-tests.ymlindex a1455c60b7..24cc157f96 100644--- a/.github/workflows/connector-sanity-tests.yml+++ b/.github/workflows/connector-sanity-tests.yml@@ -100,4 +100,4 @@ jobs:uses: actions-rs/cargo@v1with:command: test- args: --package router --test connectors -- ${{ matrix.connector }} --test-threads=1+ args: --package router --test connectors -- ${{ matrix.connector }}:: --test-threads=1diff --git a/crates/router/tests/connectors/stripe_ui.rs b/crates/router/tests/connectors/stripe_ui.rsindex ab04fc70ef..f50d667015 100644--- a/crates/router/tests/connectors/stripe_ui.rs+++ b/crates/router/tests/connectors/stripe_ui.rs@@ -7,7 +7,7 @@ struct StripeSeleniumTest;impl SeleniumTest for StripeSeleniumTest {}-async fn should_make_stripe_3ds_payment(c: WebDriver) -> Result<(), WebDriverError> {+async fn should_make_3ds_payment(c: WebDriver) -> Result<(), WebDriverError> {let conn = StripeSeleniumTest {};conn.make_redirection_payment(c, vec![Event::Trigger(Trigger::Goto(&format!("{CHEKOUT_BASE_URL}/card?cname=CL-BRW1&ccnum=4000000000003063&expmonth=10&expyear=25&cvv=123&amount=100&country=US¤cy=USD"))),@@ -20,7 +20,7 @@ async fn should_make_stripe_3ds_payment(c: WebDriver) -> Result<(), WebDriverErrOk(())}-async fn should_make_stripe_3ds_mandate_payment(c: WebDriver) -> Result<(), WebDriverError> {+async fn should_make_3ds_mandate_payment(c: WebDriver) -> Result<(), WebDriverError> {let conn = StripeSeleniumTest {};conn.make_redirection_payment(c, vec![Event::Trigger(Trigger::Goto(&format!("{CHEKOUT_BASE_URL}/card?cname=CL-BRW1&ccnum=4000002500003155&expmonth=10&expyear=25&cvv=123&amount=10&country=US¤cy=USD&mandate_data[customer_acceptance][acceptance_type]=offline&mandate_data[customer_acceptance][accepted_at]=1963-05-03T04:07:52.723Z&mandate_data[customer_acceptance][online][ip_address]=127.0.0.1&mandate_data[customer_acceptance][online][user_agent]=amet%20irure%20esse&mandate_data[mandate_type][multi_use][amount]=700&mandate_data[mandate_type][multi_use][currency]=USD&apikey=dev_DREFLPJC5SFpFBupKYovdCfg37xgM20g7oXVLQMHXP3t2kJMRSy6aof1rTe6tyyK&return_url={CHEKOUT_BASE_URL}/payments"))),@@ -56,7 +56,7 @@ async fn should_fail_recurring_payment_due_to_authentication(Ok(())}-async fn should_make_stripe_3ds_mandate_with_zero_dollar_payment(+async fn should_make_3ds_mandate_with_zero_dollar_payment(c: WebDriver,) -> Result<(), WebDriverError> {let conn = StripeSeleniumTest {};@@ -76,7 +76,7 @@ async fn should_make_stripe_3ds_mandate_with_zero_dollar_payment(Ok(())}-async fn should_make_stripe_gpay_payment(c: WebDriver) -> Result<(), WebDriverError> {+async fn should_make_gpay_payment(c: WebDriver) -> Result<(), WebDriverError> {let conn = StripeSeleniumTest {};conn.make_gpay_payment(c,&format!("{CHEKOUT_BASE_URL}/gpay?gatewayname=stripe&gpaycustomfields[stripe:version]=2018-10-31&gpaycustomfields[stripe:publishableKey]=pk_test_51Msk2GAGHc77EJXX78h549SX2uaOnEkUYqBfjcoD05PIpAnDkYxMn8nQ4d19im85NQuX4Z6WDyHaUw2fFTPBWsIY00Wa7oNerO&amount=70.00&country=US¤cy=USD"),@@ -86,7 +86,7 @@ async fn should_make_stripe_gpay_payment(c: WebDriver) -> Result<(), WebDriverErOk(())}-async fn should_make_stripe_gpay_mandate_payment(c: WebDriver) -> Result<(), WebDriverError> {+async fn should_make_gpay_mandate_payment(c: WebDriver) -> Result<(), WebDriverError> {let conn = StripeSeleniumTest {};conn.make_gpay_payment(c,&format!("{CHEKOUT_BASE_URL}/gpay?gatewayname=stripe&gpaycustomfields[stripe:version]=2018-10-31&gpaycustomfields[stripe:publishableKey]=pk_test_51Msk2GAGHc77EJXX78h549SX2uaOnEkUYqBfjcoD05PIpAnDkYxMn8nQ4d19im85NQuX4Z6WDyHaUw2fFTPBWsIY00Wa7oNerO&amount=70.00&country=US¤cy=USD&mandate_data[customer_acceptance][acceptance_type]=offline&mandate_data[customer_acceptance][accepted_at]=1963-05-03T04:07:52.723Z&mandate_data[customer_acceptance][online][ip_address]=127.0.0.1&mandate_data[customer_acceptance][online][user_agent]=amet%20irure%20esse&mandate_data[mandate_type][multi_use][amount]=700&mandate_data[mandate_type][multi_use][currency]=USD"),@@ -105,14 +105,14 @@ async fn should_make_stripe_gpay_mandate_payment(c: WebDriver) -> Result<(), Web#[test]#[serial]-fn should_make_stripe_3ds_payment_test() {- tester!(should_make_stripe_3ds_payment);+fn should_make_3ds_payment_test() {+ tester!(should_make_3ds_payment);}#[test]#[serial]-fn should_make_stripe_3ds_mandate_payment_test() {- tester!(should_make_stripe_3ds_mandate_payment);+fn should_make_3ds_mandate_payment_test() {+ tester!(should_make_3ds_mandate_payment);}#[test]@@ -123,18 +123,18 @@ fn should_fail_recurring_payment_due_to_authentication_test() {#[test]#[serial]-fn should_make_stripe_3ds_mandate_with_zero_dollar_payment_test() {- tester!(should_make_stripe_3ds_mandate_with_zero_dollar_payment);+fn should_make_3ds_mandate_with_zero_dollar_payment_test() {+ tester!(should_make_3ds_mandate_with_zero_dollar_payment);}#[test]#[serial]-fn should_make_stripe_gpay_payment_test() {- tester!(should_make_stripe_gpay_payment);+fn should_make_gpay_payment_test() {+ tester!(should_make_gpay_payment);}#[test]#[serial]-fn should_make_stripe_gpay_mandate_payment_test() {- tester!(should_make_stripe_gpay_mandate_payment);+fn should_make_gpay_mandate_payment_test() {+ tester!(should_make_gpay_mandate_payment);}