From f898603c41a8d4e9c49285fb94de7d43a06f305e Mon Sep 17 00:00:00 2001 From: Ali Reza Date: Wed, 1 Apr 2020 17:38:36 +0200 Subject: [PATCH 1/2] test uuid value on postgresql --- examples/features/database/sql.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/features/database/sql.feature b/examples/features/database/sql.feature index 2d80eae..12c1a49 100644 --- a/examples/features/database/sql.feature +++ b/examples/features/database/sql.feature @@ -17,6 +17,17 @@ Feature: database features example | 1 | us | cembri | | 2 | id | cembre | + Scenario: Test UUID value in postgres + Given set "tomato-psql" table "tblCustomers" list of content + | name | country | + | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | + Then "tomato-psql" table "tblCustomers" should look like + | customer_id | country | + | 1 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | + Then "tomato-psql" table "tblCustomers" should look like + | customer_id | country | name | + | 1 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | + Scenario: Table should always empty on each starting scenario Given "tomato-psql" table "tblCustomers" should look like | customer_id | name | From 7cca1148d7da35692aa4f141e999b93797bc76d5 Mon Sep 17 00:00:00 2001 From: Ali Reza Date: Wed, 1 Apr 2020 17:50:07 +0200 Subject: [PATCH 2/2] Update sql.feature --- examples/features/database/sql.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/features/database/sql.feature b/examples/features/database/sql.feature index 12c1a49..f9da291 100644 --- a/examples/features/database/sql.feature +++ b/examples/features/database/sql.feature @@ -20,13 +20,13 @@ Feature: database features example Scenario: Test UUID value in postgres Given set "tomato-psql" table "tblCustomers" list of content | name | country | - | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | + | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | id | Then "tomato-psql" table "tblCustomers" should look like - | customer_id | country | - | 1 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | + | customer_id | country | + | 1 | id | Then "tomato-psql" table "tblCustomers" should look like - | customer_id | country | name | - | 1 | 60b22a92-ba9d-4af1-9ac5-b20357185e4 | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | + | customer_id | country | name | + | 1 | id | a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | Scenario: Table should always empty on each starting scenario Given "tomato-psql" table "tblCustomers" should look like