---Presenter: Christian PapicSubject: How to Test the Happy PathDuration: 00:07:35---## Happy Path:Happy Path Tests are completed for all QA Rounds. Happy Path is
contained in Smoke Test, does not need to be done on top of Smoke Test. Always be sure you run the test as a Guest and as a Newly Registered User.1) Register
2) Add Product to Cart
3) Checkout - Mock CC
4) Sales Order Appears in User Dashboard---00:00:05.110 --> 00:00:08.806 - Smoke test is a little bit more in depth where it, but FALSE 00:00:08.806 --> 00:00:11.886 - it is essentially what a smoke test is. Its basic 00:00:11.886 --> 00:00:14.658 - site functionality, you know from it's the happy path 00:00:14.658 --> 00:00:17.122 - plus all the dashboard components as well and 00:00:17.122 --> 00:00:19.278 - basically all the catalog components. Everything kind 00:00:19.278 --> 00:00:22.666 - of stuff can do out of the box, I would say. 00:00:24.930 --> 00:00:28.182 - But we can go through both. So happy path is gonna be 00:00:28.182 --> 00:00:30.892 - definitely more basic. This video will be cake to record. 00:00:30.892 --> 00:00:34.686 - Uhm, I'm not sure if they're going to want to do it on DFO1 00:00:34.686 --> 00:00:37.938 - or two, so DFO2 is currently where the latest branches on it 00:00:37.938 --> 00:00:40.919 - has all the latest updates and fixes. That being said, it 00:00:40.919 --> 00:00:43.900 - currently is configured to have targets. Check out I think for 00:00:43.900 --> 00:00:47.152 - standard out of the box happy path they would do single check 00:00:47.152 --> 00:00:50.675 - out. Now I could be wrong on this. I do believe there were 00:00:50.675 --> 00:00:54.198 - some check out bugs in DF 01 with the single check out that 00:00:54.198 --> 00:00:55.553 - have not been fixed yet. 00:00:55.610 --> 00:00:58.700 - So I'm gonna go ahead and we can demo it on this, but I would 00:00:58.700 --> 00:01:01.378 - just clarify. Make sure they know that this is going to be a 00:01:01.378 --> 00:01:03.850 - happy path for the targets check out rather than the single check 00:01:03.850 --> 00:01:06.528 - out. And more times than not I feel like single check out is 00:01:06.528 --> 00:01:09.412 - going to be what's going to be used out of the box, but just 00:01:09.412 --> 00:01:12.296 - because I want to test on, you know the most up to date version 00:01:12.296 --> 00:01:13.944 - of stuff will go ahead and do it 00:01:13.944 --> 00:01:17.278 - on DFO2. It's OK, Happy Path Register. There's a couple 00:01:17.278 --> 00:01:20.606 - different ways to do it. I mean I think because the smoke test 00:01:20.606 --> 00:01:23.166 - will encompass registration for the sake of time. Happy Path. 00:01:23.166 --> 00:01:25.726 - You can just log in now. Standard clarity admin admin 00:01:25.726 --> 00:01:28.798 - credentials across all sides are going to be clarity in the new 00:01:28.798 --> 00:01:32.382 - password. If you want to ever be able to find it, this is the 00:01:32.382 --> 00:01:34.942 - password. I'll go ahead, drag the team channel over. You're 00:01:34.942 --> 00:01:38.014 - going to go over to the teams channel where sorry, not teach. 00:01:38.014 --> 00:01:41.342 - End of the team section of teams are going to go to general. 00:01:42.000 --> 00:01:45.443 - And under here, under the wiki section, this right here is 00:01:45.443 --> 00:01:48.886 - going to be your login for just about any admin account. 00:01:49.530 --> 00:01:51.282 - Periodically they go ahead. They change this password. 00:01:51.282 --> 00:01:53.691 - They haven't changed that. I think for almost a year now, 00:01:53.691 --> 00:01:56.538 - so it's pretty safe to say this is what it's going to be. 00:01:57.690 --> 00:02:00.060 - So if you haven't memorized it, go ahead copy that. 00:02:02.120 --> 00:02:04.127 - You can go ahead and password. Plug that in. 00:02:06.640 --> 00:02:08.746 - First step of happy path login or registration page. 00:02:08.746 --> 00:02:11.554 - But we'll get to that in smoke test. Like I said, so 00:02:11.554 --> 00:02:12.724 - you're going to log in. 00:02:17.550 --> 00:02:19.398 - You gotta put little translation problem we know 00:02:19.398 --> 00:02:22.170 - about, but yeah, so make sure you know this is how you 00:02:22.170 --> 00:02:24.018 - verify you logged in correctly. Make sure it 00:02:24.018 --> 00:02:26.097 - displays your username up here in the top right. 00:02:27.400 --> 00:02:30.194 - Once you log in, go ahead to the product section and 00:02:30.194 --> 00:02:31.464 - you can pick any category. 00:02:33.560 --> 00:02:36.040 - Click whatever category you want. Make sure it takes you 00:02:36.040 --> 00:02:37.280 - to the correct catalog page. 00:02:38.840 --> 00:02:40.340 - So here you see appliances. 00:02:40.940 --> 00:02:44.306 - This is your category Junior Applied Filter section. Make 00:02:44.306 --> 00:02:47.672 - sure the bread crumbs are here. Catalog appliances right? 00:02:48.450 --> 00:02:51.233 - Go ahead, click into a product details page. Make sure that 00:02:51.233 --> 00:02:52.245 - product details page loads. 00:02:52.840 --> 00:02:53.450 - Correctly. 00:03:01.130 --> 00:03:04.058 - OK, you gonna add the product to the cart. Usually when I 00:03:04.058 --> 00:03:06.254 - test I like toggling the quantity stuff. You'd be 00:03:06.254 --> 00:03:08.450 - shocked how many times I've seen this break before. 00:03:09.750 --> 00:03:12.935 - So we go ahead and make sure the car add to cart modal 00:03:12.935 --> 00:03:15.630 - displays correctly. I've seen a lot of times where this stuff 00:03:15.630 --> 00:03:18.080 - does not come incorrectly. Believe it or not, so you're 00:03:18.080 --> 00:03:20.530 - going to go. Make sure three items added. That's correct. 00:03:20.530 --> 00:03:23.470 - Verify that the price total is correct and verify up here that 00:03:23.470 --> 00:03:26.165 - three items are indeed in your cart, so we're going to 00:03:26.165 --> 00:03:27.145 - navigate to the cart. 00:03:29.430 --> 00:03:31.607 - Make sure the item added correctly there. 00:03:40.390 --> 00:03:42.210 - Guy boom, everything looks good. 00:03:44.720 --> 00:03:47.050 - Next, you're gonna go ahead and do proceed to checkout. 00:04:00.350 --> 00:04:03.110 - OK, basic happy path. Obviously in depth QA and smoke test you 00:04:03.110 --> 00:04:05.870 - would go ahead and add different addresses and see what you could 00:04:05.870 --> 00:04:08.860 - find, but for basic happy path you just want to make sure you 00:04:08.860 --> 00:04:10.240 - were able to get through the 00:04:10.240 --> 00:04:13.620 - checkout. We can go ahead with the default billing address. 00:04:14.690 --> 00:04:17.860 - Go ahead and select any a shipping address. Anyone that's 00:04:17.860 --> 00:04:20.079 - on file or if you wanted to. 00:04:20.920 --> 00:04:22.187 - Uh, you could add a new one. 00:04:24.530 --> 00:04:27.852 - Standard have to worry about that. Right now. We can address 00:04:27.852 --> 00:04:29.362 - go ahead. Estimate your rates. 00:04:35.420 --> 00:04:38.291 - Now, in theory the shipping rate is actually supposed to display. 00:04:38.291 --> 00:04:41.162 - It's been a long known core Buck. Right now they're working 00:04:41.162 --> 00:04:44.033 - on it. But anyway, once they display, go ahead and select 00:04:44.033 --> 00:04:46.643 - your rate after you select it. Then it actually displays. 00:04:48.010 --> 00:04:50.940 - Go ahead, you continue to payment after rate is selected. 00:04:50.940 --> 00:04:53.870 - At this point, stage four makes your shipping actually does 00:04:53.870 --> 00:04:57.679 - carry over and applies to your total in the mini cart and happy 00:04:57.679 --> 00:05:01.195 - path is always a standard mop credit card. Check out enough to 00:05:01.195 --> 00:05:04.418 - worry about invoice. Right now you could either use one that's 00:05:04.418 --> 00:05:08.299 - already on file. But for actual happy path, we're just going to 00:05:08.299 --> 00:05:12.510 - go ahead. And then put it manually so the standard clarity 00:05:12.510 --> 00:05:16.590 - test card is always going to be clarity. The card number is 00:05:16.590 --> 00:05:20.670 - always going to be 411111. You get the idea too much, always 00:05:20.670 --> 00:05:25.424 - force. Month does not matter as long as it is a valid month and 00:05:25.424 --> 00:05:29.316 - year, and CVV is always going to be 411. In case you need to 00:05:29.316 --> 00:05:31.818 - know, that's always the clarity test card credentials OK. 00:05:32.780 --> 00:05:36.330 - After that is input, go ahead, confirm order and purchase. 00:05:38.290 --> 00:05:39.688 - Wait for it to go through. 00:05:45.480 --> 00:05:47.950 - If someone puts in the wrong card number, what happens? 00:05:47.950 --> 00:05:50.667 - Honestly, I've seen it happen where it doesn't go through. I 00:05:50.667 --> 00:05:53.384 - have always tested with that. In theory, though it's It's not 00:05:53.384 --> 00:05:56.348 - supposed to go through. We can go through and check out after 00:05:56.348 --> 00:05:59.559 - that, but I'm pretty sure it's going to kick you back then even 00:05:59.559 --> 00:06:02.770 - after you go ahead and make your purchase, you're going to get a 00:06:02.770 --> 00:06:05.487 - master order with the suborder numbers. You can either go view 00:06:05.487 --> 00:06:07.463 - your order history or continue shopping. Continue shopping 00:06:07.463 --> 00:06:10.921 - button is going to take you back to the catalog and this is the 00:06:10.921 --> 00:06:12.650 - last step of happy path. This is 00:06:12.650 --> 00:06:15.640 - very important. You need to make sure that this order number. 00:06:15.640 --> 00:06:18.070 - Please order numbers actually show up in your orders 00:06:18.070 --> 00:06:21.310 - dashboard, so there's a couple of ways to get there. You can 00:06:21.310 --> 00:06:22.390 - either go from here. 00:06:23.120 --> 00:06:25.038 - Did we order section of the user 00:06:25.038 --> 00:06:28.180 - dashboard but? Go ahead and click the button here. If 00:06:28.180 --> 00:06:28.870 - you order history. 00:06:37.040 --> 00:06:40.412 - So this takes you to your user dashboard. All your options here 00:06:40.412 --> 00:06:43.503 - you're going to make sure you navigate over to the order 00:06:43.503 --> 00:06:48.378 - section and boom. There's my order. Make sure you click in to 00:06:48.378 --> 00:06:51.456 - the actual order and make sure everything comes through 00:06:51.456 --> 00:06:55.590 - correctly. I've also seen this mess up before the boom. There 00:06:55.590 --> 00:06:57.300 - you have, it has my billing. 00:07:00.540 --> 00:07:01.590 - Just paid. 00:07:03.270 --> 00:07:07.053 - You can add your items back to the cart no problem because this 00:07:07.053 --> 00:07:10.836 - is target check out. I don't want to dive too much into this. 00:07:10.836 --> 00:07:13.746 - This probably would be necessary for the target checkout. Happy 00:07:13.746 --> 00:07:16.365 - path. This wouldn't be relevant for regular normal standard 00:07:16.365 --> 00:07:19.566 - happy path, but because its targets it breaks it up into 00:07:19.566 --> 00:07:22.767 - sales groups, so that's why you see a master in suborder. 00:07:24.180 --> 00:07:27.144 - But I wouldn't worry about this at this time I think you 00:07:27.144 --> 00:07:30.108 - can call the happy path done once you see this order come 00:07:30.108 --> 00:07:32.331 - through on the orders dashboard and click in and 00:07:32.331 --> 00:07:34.307 - make sure all the informations right on that 00:07:34.307 --> 00:07:34.554 - order.